Comparing version 0.3.6 to 0.3.7
@@ -22,3 +22,3 @@ !function(){ | ||
isQuery: true | ||
isQuery: function(){return true;} | ||
@@ -421,3 +421,7 @@ | ||
, getResource: function() { | ||
return this._rootResource; | ||
} | ||
, find: function(callback) { | ||
@@ -424,0 +428,0 @@ new QueryCompiler({ |
@@ -31,4 +31,4 @@ !function(){ | ||
, or: function(){ | ||
var a = Array.prototype.slice.call(arguments); | ||
, or: function(first){ | ||
var a = type.array(first) ? first : Array.prototype.slice.call(arguments); | ||
a.mode = 'or'; | ||
@@ -38,4 +38,4 @@ return a; | ||
, and: function(){ | ||
var a = Array.prototype.slice.call(arguments); | ||
, and: function(first){ | ||
var a = type.array(first) ? first : Array.prototype.slice.call(arguments); | ||
a.mode = 'and'; | ||
@@ -42,0 +42,0 @@ return a; |
{ | ||
"name" : "ee-orm" | ||
, "description" : "An easy to use ORM for node.js. Supports advanced eager loading, complex queries, joins, transactions, complex database clusters & connection pooling." | ||
, "version" : "0.3.6" | ||
, "version" : "0.3.7" | ||
, "homepage" : "https://github.com/eventEmitter/ee-orm" | ||
@@ -6,0 +6,0 @@ , "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)" |
10
test.js
@@ -26,6 +26,8 @@ | ||
new db.country({ | ||
code: 'nz' | ||
, name: null | ||
}).save(cb); | ||
db.venue({id: ORM.gt(db.venue(['id'], {id:ORM.gt(0)}))}).find(cb); | ||
return; | ||
@@ -32,0 +34,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
166919