Socket
Book a DemoInstallSign in
Socket

@aurox/pg

Package Overview
Dependencies
Maintainers
5
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurox/pg

A PostgreSQL client with strict types.

latest
npmnpm
Version
0.8.5
Version published
Weekly downloads
4
300%
Maintainers
5
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 15 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts