Skip to content
DocsTry Aspire
DocsTry

SurrealDbNamespaceResource.withCreationScript

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

Signature

methodwithCreationScriptbuilder
Defines the SQL script used to create the namespace.
withCreationScript(script: string): SurrealDbNamespaceResource
scriptstring
SurrealDbNamespaceResource

Defined on

This method is defined on the following type: