Skip to content
Docs Try Aspire
Docs Try

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

Applies to

This method applies to the following types: