PostgresDatabaseResource.withPostgresMcp
Method
interface PostgresDatabaseResource { // ... omitted for brevity withPostgresMcp(configureContainer?: (obj: PostgresMcpContainerResource) => Promise<void>, containerName?: string): PostgresDatabaseResource;}Signature
method
withPostgresMcp builderAdds a Postgres MCP server container and configures it to connect to the database represented by `builder`.
withPostgresMcp(configureContainer?: (obj: PostgresMcpContainerResource) => Promise<void>, containerName?: string): PostgresDatabaseResourceParameters
configureContainer (obj: PostgresMcpContainerResource) => Promise<void> optionalcontainerName stringoptionalReturns
PostgresDatabaseResource Defined on
This method is defined on the following type: