PostgresDatabaseResource.withPostgresMcp
Method
interface PostgresDatabaseResource { // ... omitted for brevity withPostgresMcp(configureContainer?: (obj: PostgresMcpContainerResource) => Promise<void>, containerName?: string): PostgresDatabaseResource;}Signature
method
withPostgresMcpbuilderAdds 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>optionalcontainerNamestringoptionalReturns
PostgresDatabaseResourceDefined on
This method is defined on the following type: