Axinom Mosaic Libraries
Axinom Portal
Preparing search index...
@axinom/mosaic-db-common
createPgPool
Function createPgPool
createPgPool
<
T
extends
string
>
(
connectionString
:
string
,
poolLabel
:
T
,
logger
:
DbLogger
,
shutdownActions
:
DbShutdownActions
,
poolConfig
?:
PoolConfig
,
)
:
LabelledPgPool
<
T
>
Creates a PostgreSQL Pool for a given connection string, and returns it.
Type Parameters
T
extends
string
Parameters
connectionString
:
string
poolLabel
:
T
logger
:
DbLogger
shutdownActions
:
DbShutdownActions
Optional
poolConfig
:
PoolConfig
Returns
LabelledPgPool
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Axinom Portal
Axinom Mosaic Libraries
Loading...
Creates a PostgreSQL Pool for a given connection string, and returns it.