Skip to content
Docs Try Aspire

withInitFiles

Function
📦 Aspire.Hosting.PostgreSQL v13.2.0-preview.1.26159.1
interface PostgresServerResource {
// ... omitted for brevity
withInitFiles(source: string): PostgresServerResource;
}

Signature

method withInitFiles builder
Copies init files to PostgreSQL
withInitFiles(source: string): PostgresServerResource
source string
PostgresServerResource

Applies to

This function is an extension method on the following types: