postgres_dbm

1.1.0 • Public • Published

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.

/postgres_dbm/

    Package Sidebar

    Install

    npm i postgres_dbm

    Weekly Downloads

    206

    Version

    1.1.0

    License

    GPL-3.0-or-later

    Unpacked Size

    3.67 kB

    Total Files

    4

    Last publish

    Collaborators

    • blackamda