@fullstack-one/db
TypeScript icon, indicating that this package has built-in type declarations

0.7.17 • Public • Published

@fullstack-one/db

Packages for managing connections to Postgres

This package includes a service for a postgres pool, called DbGeneralPool. The pool is used for GraphQl requests. Morover this package includes an ORM subpackage based on typeorm, which has its own pool. Other packages and the application can use the query runners of ORM using const queryRunner = orm.createQueryRunner(); await queryRunner.connect(); queryRunner.query("SELECT ...").

The pool size is gracefully adjusted depending on the number of connected nodes using @fullstack-one/events.

Readme

Keywords

none

Package Sidebar

Install

npm i @fullstack-one/db

Weekly Downloads

13

Version

0.7.17

License

MIT

Unpacked Size

174 kB

Total Files

137

Last publish

Collaborators

  • eterehov
  • dustin-h
  • bettervest_david