postgres_dbm
v1.1.0
Published
This project is based on Javascript.
Downloads
776
Maintainers
Readme
Postgres-DbM - A Postgres SQL DB Manager
This project is based on Javascript.
Coded by: Black Amda
If you need to use this package you need to get an access key from the developer. WhatsApp Me
Installation
npm i postgres_dbm
Usage
const { dbM } = require('postgres_dbm')
const db_pool = new dbM({
db: 'DATABASE_URL' // Example: postgresql://..........
})
Methods
db_pool.insert()
Code:
await db_pool.insert('DATA_TYPE', 'DATA');
db_pool.get()
Result: Code:
const data = await db_pool.get('DATA_TYPE')
console.log(data);
DATA
License
This project is protected by the GNU General Public License v3.0.