Postgres module

slot_for

procedure · 1 overloadsince 0.27.0Source

The slot holding the connection for this pair, added if there is none.

slot_for :: (url: string, database: string) -> *Held

The slot holding the connection for this pair, added if there is none.

Parameters

url: string
the database URL.
database: string
a database name to use instead of the URL's. Empty keeps the URL's.

Returns

See also