Comparing version 0.3.9 to 0.3.10
@@ -54,2 +54,5 @@ !function(){ | ||
, notIn: function(values) { | ||
@@ -74,2 +77,22 @@ return function(){ | ||
, equal: function(value) { | ||
return function(){ | ||
return { | ||
operator: '=' | ||
, value: value | ||
} | ||
} | ||
} | ||
, notEqual: function(value) { | ||
return function(){ | ||
return { | ||
operator: '!=' | ||
, value: value | ||
} | ||
} | ||
} | ||
, gt: function(value) { | ||
@@ -76,0 +99,0 @@ return function(){ |
{ | ||
"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.9" | ||
, "version" : "0.3.10" | ||
, "homepage" : "https://github.com/eventEmitter/ee-orm" | ||
@@ -6,0 +6,0 @@ , "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)" |
@@ -559,2 +559,6 @@ | ||
}); | ||
it('Filtering the notEqual operator', function(done){ | ||
db.event({title: ORM.notEqual('hui')}).find(expect('[{"id":3,"title":"Mapping Test","startdate":"1970-01-01T00:00:00.000Z","enddate":null,"canceled":true},{"id":4,"title":"Changed title","startdate":"1970-01-01T00:00:00.000Z","enddate":"2014-05-13T16:53:20.000Z","canceled":null},{"id":1,"title":"Changed title","startdate":"1970-01-01T00:00:00.000Z","enddate":null,"canceled":null},{"id":2,"title":"Mapping Test","startdate":"1970-01-01T00:00:00.000Z","enddate":null,"canceled":null}]', done)); | ||
}); | ||
}); | ||
@@ -561,0 +565,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
169052
3181