UNPKG
@meshwatch/backend-core
Version:
latest (1.15.14)
1.15.14
1.15.13
1.15.12
1.15.11
1.15.10
1.15.9
1.15.8
1.15.7
1.15.6
1.15.5
1.15.4
1.15.3
1.15.2
1.15.1
1.15.0
1.14.16
1.14.15
1.14.14
1.14.13
1.14.12
1.14.11
1.14.10
1.14.9
1.14.8
1.14.7
1.14.6
1.14.5
1.14.4
1.14.3
1.14.2
1.14.1
1.14.0
1.13.0
1.12.1
1.12.0
1.11.5
1.11.4
1.11.3
1.11.2
1.11.1
1.11.0
1.10.6
1.10.5
1.10.4
1.10.3
1.10.2
1.10.1
1.10.0
1.9.0
1.8.18
1.8.17
1.8.16
1.8.15
1.8.14
1.8.13
1.8.12
1.8.11
1.8.10
1.8.9
1.8.8
1.8.7
1.8.6
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.2
1.7.1
1.7.0
1.6.0
1.5.1
1.5.0
1.4.0
1.3.0
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Meshwatch backend core services.
gitlab.com/meshwatch/backend-core
@meshwatch/backend-core
/
dist
/
storage
/
pg.d.ts
5 lines
(4 loc)
•
212 B
TypeScript
View Raw
1
2
3
4
5
import
{
Pool
,
QueryConfig
,
QueryResult
}
from
'pg'
;
declare
const
pgPool
:
Pool
;
export
declare
function
queryPostgres
(
config
:
QueryConfig
|
string
,
pool
?:
Pool
):
Promise
<
QueryResult
>;
export
default
pgPool;