Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

PostgresServerResource.WithRepl

Method
📦 Aspire.Hosting.PostgreSQL v17.0.0
type PostgresServerResource interface {
// ... omitted for brevity
WithRepl() PostgresServerResource
}

Signature

methodWithReplbuilder
Adds a REPL command that opens an authenticated PostgreSQL shell in the dashboard terminal dock.
WithRepl() PostgresServerResource
PostgresServerResource

The resource builder for chaining.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: