jethro-mysql
v0.1.2
Published
Lightweight and intelligent mysql connection utility
Downloads
3
Readme
Jethro MySQL Connector
Lightweight MySQL connection handler Feel free to visit the HenchSpace website here.
Installation
npm install jethro-mysql
####API
//Require wrapper
mysql = require('mysql-connect')
//Route to native event handler
mysql.emitter.onAny(mysql.logger)
//Start connection
mysql.connect({
host : '127.0.0.1',
user : 'your_database_user',
password : 'your_database_password',
database : 'myapp_test'
})
//mysql.disconnect()
//mysql.sendCall('SELECT * FROM `users`')
Projects using this module:
Henchbot
Credits
Birthed by Henchman, with help from Matthew.
License
Licensed under the LGPL v3 License Copyright (C) 2014 Samuel Mills (known as Henchman, under the github team: HenchSpace) You can find full license here.