@aurox/pg
TypeScript icon, indicating that this package has built-in type declarations

0.8.5 • Public • Published

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, -_

Readme

Keywords

none

Package Sidebar

Install

npm i @aurox/pg

Weekly Downloads

1

Version

0.8.5

License

none

Unpacked Size

359 kB

Total Files

276

Last publish

Collaborators

  • reza_aurox
  • nikolaaurox
  • goran-aurox
  • alitaheri
  • getaurox