BlackAmda / postgres_dbm

A simple Postgres SQL DB Manager.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A simple Postgres SQL DB Manager.


Languages

Language:JavaScript 100.0%