any-db-mysql
The MySQL adapter for any-db
Last updated 6 years ago by grncdr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install any-db-mysql 
SYNC missed versions from official npm registry.

any-db-mysql

Build Status

This is the MySQL adapter for Any-DB. It relies on the mysql database driver to create connection and query objects that conform to the Any-DB API. It's almost identical to require('mysql') but lets your app code be somewhat more database agnostic.

API extensions

The connections and queries this package creates inherit from the constructor functions in require('mysql'), so any methods that mysql supports beyond those specified by Any-DB are also available to you.

Keep in mind that these methods will not necessarily work with other backends.

Install

npm install any-db-mysql

Running tests

Create an empty test database:

mysql -uroot -e 'CREATE DATABASE IF NOT EXISTS any_db_test'

Then run tests the node way:

npm install && npm test

License

MIT

Current Tags

  • 2.1.2                                ...           latest (6 years ago)

12 Versions

  • 2.1.2                                ...           6 years ago
  • 2.1.1                                ...           7 years ago
  • 2.1.0                                ...           7 years ago
  • 2.0.2                                ...           7 years ago
  • 2.0.1                                ...           7 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
  • 1.0.0-rc2                                ...           7 years ago
  • 1.0.0-rc1                                ...           7 years ago
  • 1.0.0-alpha2                                ...           7 years ago
  • 1.0.0-alpha1                                ...           7 years ago
  • 0.0.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (2)
Dev Dependencies (1)

Copyright 2014 - 2016 © taobao.org |