DuckDBResourceBuilderExtensions
Classstaticnet10.0
Provides extension methods for adding DuckDB resources to an application builder.
namespace Aspire.Hosting;
public static class DuckDBResourceBuilderExtensions{ // ...}Methods2
Section titled MethodsAddDuckDB(IDistributedApplicationBuilder, string, string?, string?)extensionats exportIResourceBuilder<DuckDBResource> Adds a DuckDB resource to the application builder.
WithReadOnly(IResourceBuilder<DuckDBResource>)extensionats exportIResourceBuilder<DuckDBResource> Configures the DuckDB resource to open the database in read-only mode.