@aurox/pg
v0.8.5
Published
A PostgreSQL client with strict types.
Downloads
43
Keywords
Readme
Aurox PostgreSQL Client
Based on https://github.com/gajus/slonik and https://github.com/andywer/pg-listen
Annotation
It is possible to annotate a query for tracing and telemetry purposes:
const result = connection.any(sql`
/*name=my-query-name*/
SELECT id, name FROM users
ORDER BY id
`);
Keep in mind, there should be no whitespace present /*name=<identity>*/
. identity
can have: a-z, A-Z, 0-9, -_