Socket
Socket
Sign inDemoInstall

@aurox/pg

Package Overview
Dependencies
49
Maintainers
5
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @aurox/pg

A PostgreSQL client with strict types.


Version published
Weekly downloads
24
increased by2300%
Maintainers
5
Created
Weekly downloads
 

Readme

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

Last updated on 15 Jan 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc