Skip to content
Docs Try Aspire
Docs Try

withPgWeb

Method
📦 Aspire.Hosting.PostgreSQL v13.4.0
interface PostgresServerResource {
// ... omitted for brevity
withPgWeb(
configureContainer?: callback,
containerName?: string): PostgresServerResource;
}

Signature

method withPgWeb builder
Adds an administration and development platform for PostgreSQL to the application model using pgweb.
withPgWeb(configureContainer?: (obj: PgWebContainerResource) => Promise<void>, containerName?: string): PostgresServerResource
configureContainer (obj: PgWebContainerResource) => Promise<void> optional
containerName string optional
PostgresServerResource

Applies to

This method applies to the following types: