Database abstraction for Node.js