Skip to content
DocsTry Aspire
DocsTry

PostgresServerResource.withInitFiles

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

Signature

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

Defined on

This method is defined on the following type: