An ORM that supports multiple database systems (SQL/NoSQL) and ID generation middleware.
An ORM written in Coffeescript that supports multiple database systems, both SQL and NoSQL, as well as ID generation middleware. It is fully extendable to add new database systems and plugins.
Note: this project is new and is not finished yet. There is still a lot of functionality to add.
ActiveRecord = require '../src'module.exports =sqlite:database: "/test.db"mysql:host: 'localhost'database: 'test'user: 'test'password: 'password'
ActiveRecord = require '../src'config = require __dirname + "/config"# Note: uses sqlite3 by defaultconfig: configfields: 'id''username''name'
Creating a Record
user =user.username = "meltingice"user.name = "Ryan"usersave
Retreiving a Record
Userfind 1 consolelog usertoJSON