Socket
Socket
Sign inDemoInstall

ee-orm

Package Overview
Dependencies
Maintainers
2
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ee-orm - npm Package Compare versions

Comparing version 0.3.8 to 0.3.9

19

lib/StaticORM.js

@@ -126,2 +126,21 @@ !function(){

}
, like: function(value) {
return function(){
return {
fn: 'like'
, value: value
}
}
}
, notLike: function(value) {
return function(){
return {
fn: 'notLike'
, value: value
}
}
}
});

@@ -128,0 +147,0 @@

2

package.json
{
"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.8"
, "version" : "0.3.9"
, "homepage" : "https://github.com/eventEmitter/ee-orm"

@@ -6,0 +6,0 @@ , "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)"

@@ -27,3 +27,3 @@

db.event({id: ORM.and(2,3)}).find(cb);
db.event({title: ORM.like('Mapp%')}).find(cb);

@@ -30,0 +30,0 @@

@@ -551,2 +551,10 @@

});
it('Filtering the like operator', function(done){
db.event({title: ORM.like('Mapp%')}).find(expect('[{"id":3,"title":"Mapping Test","startdate":"1970-01-01T00:00:00.000Z","enddate":null,"canceled":true},{"id":2,"title":"Mapping Test","startdate":"1970-01-01T00:00:00.000Z","enddate":null,"canceled":null}]', done));
});
it('Filtering the notLike operator', function(done){
db.event({title: ORM.notLike('Mapp%')}).find(expect('[{"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}]', done));
});
});

@@ -553,0 +561,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc