jugglingdb
jugglingdb copied to clipboard
Multi-database ORM for nodejs: redis, mongodb, mysql, sqlite3, postgresql, arango, in-memory...
At least for PostgreSQL and [MongoDB 2.4](http://docs.mongodb.org/manual/applications/text-search/) adapters
Code example: ``` var schema = new Schema(driverType, connectionConfig); var UserToken = schema.define('UserToken', { token: {type: String, index: true} }, { tablename: 'user_token' }); var User = schema.define('User', { email:...
refine schema's type from "Datatype" to DataType ``` js var schema = { username: {type: "String"}, email: {type: "String" }, password: {type: "String"}, role: {type: "String"}, permissions: {type: "Text"}, created:...
![image](https://cloud.githubusercontent.com/assets/3947998/4455826/edf77124-4883-11e4-8956-3c8c79e6e62e.png) What's the difference between them (i use jugglingdb with redis)? And which types can be used besides string, number, date and bool? Thanks
Trying to use "where: { id: { gt / lt: XXX } }" or skip in model.iterate method, but script ignores it. «order by» works fine. What am i doing...
- AbstractClass.create() should support an array of objects. In the case of an array the result should be a single query or database transaction that acts as a bulk insert....
/lib/include.js line 25: `AbstractClass.include = function (objects, include, cb) {` If objects length is 0, and include is an array with multiple items, the cb will be executed several times....
Hi, I'm developing an adapter for orientdb. Currently every test pass except for the ones related to relationships. You can check the adapter here: https://github.com/sarhugo/jugglingdb-orientdb My doubt is how I...
Is it easy to write an adapter for OrientDB?
As the title suggests ``` javascript var Tag = schema.define('Tag', { name: String, parent_id: Number }, { table: 'tags' }); var Category = schema.define('Category', { name: String }, { table:...