Skip to content
Docs Try Aspire
Docs Try

withInitFiles

Method
📦 Aspire.Hosting.PostgreSQL v13.4.0
interface PostgresServerResource {
// ... omitted for brevity
withInitFiles(source: string): PostgresServerResource;
}

Signature

method withInitFiles builder
Copies init files to a PostgreSQL container resource.
withInitFiles(source: string): PostgresServerResource
source string
PostgresServerResource

Applies to

This method applies to the following types: