Comparing version 0.3.16 to 0.3.17
@@ -19,4 +19,2 @@ !function(){ | ||
, init: function(options) { | ||
Class.define(this, '_defintion' , Class(options.definition)); | ||
@@ -23,0 +21,0 @@ Class.define(this, '_orm' , Class(options.orm)); |
@@ -307,3 +307,2 @@ !function(){ | ||
, database: thisContext.databaseName | ||
, ContainingModel: thisContext.Model | ||
, isMapping: false | ||
@@ -366,3 +365,2 @@ }); | ||
, database: thisContext.databaseName | ||
, ContainingModel: thisContext.Model | ||
, isMapping: true | ||
@@ -369,0 +367,0 @@ , getDatabase: thisContext.getDatabase |
@@ -28,4 +28,5 @@ !function(){ | ||
Class.define(this, '_error' , Class(null).Writable()); | ||
Class.define(this, 'Model' , Class(options.ContainingModel).Enumerable()) | ||
Class.define(this, 'isMapping' , Class(!!options.isMapping)); | ||
this.Model = this._orm[this._database][this._definition.name]; | ||
} | ||
@@ -32,0 +33,0 @@ |
{ | ||
"name" : "ee-orm" | ||
, "description" : "An easy to use ORM for node.js. Supports eager loading, complex queries, joins, transactions, complex database clusters & connection pooling." | ||
, "version" : "0.3.16" | ||
, "version" : "0.3.17" | ||
, "homepage" : "https://github.com/eventEmitter/ee-orm" | ||
@@ -6,0 +6,0 @@ , "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)" |
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
172502
3254