spring-framework / org.springframework.jdbc.datasource.embedded / EmbeddedDatabaseBuilder / addScript

addScript

open fun addScript(script: String): EmbeddedDatabaseBuilder

Add an SQL script to execute to initialize or populate the database.

Parameters

script - the script to execute

Return
this, to facilitate method chaining