MySqlDatabaseResource.withCreationScript

Method
📦 Aspire.Hosting.MySql v17.0.0
interface MySqlDatabaseResource {
// ... omitted for brevity
withCreationScript(script: string): MySqlDatabaseResource;
}

Signature

methodwithCreationScriptbuilder
Defines the SQL script used to create the database.
withCreationScript(script: string): MySqlDatabaseResource
scriptstringThe SQL script used to create the database.
MySqlDatabaseResource

Defined on

This method is defined on the following type: