Skip to content

bigbadweb/mysql-database-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

MySQL Database Wrapper

Install

npm install --save https://github.com/bigbadweb/mysql-database-wrapper.git

Usage

Depends on the mysql npm package - npm install mysql;

const Database = require('@bigbadweb/mysql-database-wrapper');

const db = new Database('mysql://user:pass@hostname:port/database');

let result = await db.query('SELECT * FROM table').catch(err => {
        // handle err
    })

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published