Skip to content
DocsTry Aspire
DocsTry

DuckDBResource.withReadOnly

Method
📦 CommunityToolkit.Aspire.Hosting.DuckDB v13.5.0
interface DuckDBResource {
// ... omitted for brevity
withReadOnly(): DuckDBResource;
}

Signature

methodwithReadOnlybuilder
Configures the DuckDB resource to open the database in read-only mode.
withReadOnly(): DuckDBResource
DuckDBResource

Defined on

This method is defined on the following type: