Skip to content
DocsTry Aspire
DocsTry

withDataBindMount

Method
📦 CommunityToolkit.Aspire.Hosting.SurrealDb v13.4.0
interface SurrealDbServerResource {
// ... omitted for brevity
withDataBindMount(source: string): SurrealDbServerResource;
}

Signature

methodwithDataBindMountbuilder
Adds a bind mount for the data folder to a SurrealDB resource.
withDataBindMount(source: string): SurrealDbServerResource
sourcestring
SurrealDbServerResource

Applies to

This method applies to the following types: