2.7.1 • Published 5 years ago
@creanet/js-db v2.7.1
js-db
Module used for communication between NodeJS and PostgreSQL.
Creating DB instance
To create a new DB instance call DB constructor.
const DB = require('@creanet/js-db');
const db = new DB(params);The constructor requires parameters necessary to create connection with db:
| Parameter | Description | Example |
|---|---|---|
| user | The user of the DB | lorem |
| database | The name of the DB | ipsum |
| password | The password of the user | dolor.sit.amet |
| host | The host of the DB | db.websupport.sk |
| port | The port to be used when connecting | 1234 |
2.7.1
5 years ago
2.7.0
5 years ago
2.6.1
6 years ago
2.6.0
6 years ago
2.5.5
6 years ago
2.5.4
6 years ago
2.5.3
6 years ago
2.5.2
6 years ago
2.5.1
6 years ago
2.5.0
6 years ago
2.4.1
6 years ago
2.4.0
6 years ago
2.3.0
6 years ago
2.1.2
6 years ago
2.2.0
6 years ago
2.1.1
6 years ago
2.1.0
6 years ago
2.0.0
6 years ago
1.1.12
6 years ago
1.1.11
6 years ago
1.1.10
7 years ago
1.1.9
7 years ago
1.1.8
7 years ago
1.1.7
7 years ago
1.1.6
7 years ago
1.1.5
7 years ago
1.1.4
7 years ago
1.1.3
7 years ago
1.1.2
7 years ago