Skip to content
Docs Try Aspire
Docs Try

SurrealDbDatabaseResource.withCreationScript

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

Signature

method withCreationScript builder
Defines the SQL script used to create the database.
withCreationScript(script: string): SurrealDbDatabaseResource
script string
SurrealDbDatabaseResource

Defined on

This method is defined on the following type: