Any-DB wraps the `mysql`, `pg`, or `sqlite3` modules and provides a single 
consistent API across all three for establishing database connections (and 
connection pools), executing SQL queries (with positional or named bound 
parameters), and managing transactions. The aim is to provide a reasonable 
base-layer that other modules can depend on to get support for multiple 
databases "for free". The API is pretty much exactly the same as the 
mysql/pg drivers, so it should be relatively simple to port existing 
libraries that depend on either of those.

NPM: https://npm.im/any-db
Github: https://github.com/grncdr/node-any-db
API design document: 
https://github.com/grncdr/node-any-db/blob/master/DESIGN.md

This initial release is intended to get feedback from the community on the 
API, find bugs, and generally highlight any shortcomings, so please tear it 
apart ;). I'd especially appreciate input from authors of database drivers, 
ORMs, and query-builders. I'm tentatively scheduling an API freeze for 
January 15th, after which releases will be focused on testing more edge 
cases and finally performance improvements.

Cheers,
-Stephen

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to