1.0.4 • Published 5 years ago

funky-mysql v1.0.4

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

funky-mysql

Funky mysql used for mysql DB access.

Installation

Run below command to install funky-mysql.

npm install funky-mysql

Usage

const funkymysql = require('funky-mysql')
var db = new funkymysql({
    host:'localhost', // Your Hostname or Host IP
    user:'root',      // Username of database
    password:'',      // Password of database 
    database:'mysql'  // Name of Database  
})

var result = db.get('help_category')
console.log(result)

Output

[ { help_category_id: 1,
    name: 'Geographic',
    parent_category_id: 0,
    url: '' },
  { help_category_id: 2,
    name: 'Polygon properties',
    parent_category_id: 35,
    url: '' }
            .
            .
            .
            .
            .
  { help_category_id: 40,
    name: 'Data Definition',
    parent_category_id: 36,
    url: '' } ]

Big Thanks

Our sincere thanks to sync-mysql

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago