1.0.3 • Published 10 years ago

rapid-mysql v1.0.3

Weekly downloads
22
License
-
Repository
github
Last release
10 years ago

RAPID-MYSQL

NPM version Dependency Status


simple to use the mysql database

What is this?

用于rapid框架的mysql插件,对mysql库的重新封装,针对公有集群化云数据库优化了连接管理、接口复用、读写分离等。

Install

$ npm install rapid-mysql

Usage

var db = require('rapid-mysql').db('mysql://user:password@host_or_ip:port/dbname');
db.query('SELECT * from tbl where id=?', [id], function(err, rows){...});
db.query('SELECT * from tbl').then(function(rows){...}, function(err){...});

Community

Visit clouda+ official site for more info.

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.1.0

10 years ago