Skip to content
DocsTry Aspire
DocsTry

PostaResource.withPostgresReference

Method
📦 CommunityToolkit.Aspire.Hosting.Posta v13.5.0
interface PostaResource {
// ... omitted for brevity
withPostgresReference(database: PostgresDatabaseResource): PostaResource;
}

Signature

methodwithPostgresReferencebuilder
Configures the PostgreSQL database used by Posta.
withPostgresReference(database: PostgresDatabaseResource): PostaResource
databasePostgresDatabaseResource
PostaResource

Defined on

This method is defined on the following type: