withCreationScript

Method
📦 CommunityToolkit.Aspire.Hosting.SurrealDb v13.6.1
interface SurrealDbDatabaseResource {
// ... omitted for brevity
withCreationScript(script: string): SurrealDbDatabaseResource;
}

Signature

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

Applies to

This method applies to the following types: