UNPKG
pino-pg
Version:
latest (2.2.1)
2.2.1
2.2.0
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.0
1.0.0
A Pino Transport for PostgreSQL databases.
github.com/Xstoudi/pino-pg
Xstoudi/pino-pg
pino-pg
/
dist
/
src
/
index.d.ts
5 lines
(4 loc)
•
241 B
TypeScript
View Raw
1
2
3
4
5
import
{
Client
}
from
'pg'
;
declare
function
transporter
(
table
:
string
,
column
:
string
,
client
:
Client
):
(
source
:
AsyncIterable
<
string
>
) =>
AsyncGenerator
<
string
,
void
,
unknown
>;
declare
function
main
(
):
void
;
export
{ main, transporter };