Skip to content
Docs Try Aspire
Docs Try

SurrealDbNamespaceResource.withCreationScript

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

Signature

method withCreationScript builder
Defines the SQL script used to create the namespace.
withCreationScript(script: string): SurrealDbNamespaceResource
script string
SurrealDbNamespaceResource

Defined on

This method is defined on the following type: