@spinajs/orm
Advanced tools
Comparing version 2.0.236 to 2.0.237
@@ -47,3 +47,3 @@ "use strict"; | ||
executeOnQuery(callback) { | ||
callback.call(this._relationQuery, [this]); | ||
callback.call(this._relationQuery, this); | ||
} | ||
@@ -70,3 +70,3 @@ }; | ||
if (callback) { | ||
callback.call(this._relationQuery, [this]); | ||
callback.call(this._relationQuery, this); | ||
} | ||
@@ -101,3 +101,3 @@ // todo: fix this cast | ||
if (callback) { | ||
callback.call(this._relationQuery, [this]); | ||
callback.call(this._relationQuery, this); | ||
} | ||
@@ -126,3 +126,3 @@ this._query.middleware(new middlewares_js_1.BelongsToRelationRecursiveMiddleware(this._relationQuery, this._description, this._targetModelDescriptor)); | ||
if (callback) { | ||
callback.call(this._relationQuery, [this]); | ||
callback.call(this._relationQuery, this); | ||
} | ||
@@ -180,3 +180,3 @@ this._query.middleware(new middlewares_js_1.DiscriminationMapMiddleware(this._targetModelDescriptor)); | ||
if (callback) { | ||
callback.call(this._relationQuery, [this]); | ||
callback.call(this._relationQuery, this); | ||
} | ||
@@ -183,0 +183,0 @@ const joinRelationDescriptor = { |
@@ -44,3 +44,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
executeOnQuery(callback) { | ||
callback.call(this._relationQuery, [this]); | ||
callback.call(this._relationQuery, this); | ||
} | ||
@@ -67,3 +67,3 @@ }; | ||
if (callback) { | ||
callback.call(this._relationQuery, [this]); | ||
callback.call(this._relationQuery, this); | ||
} | ||
@@ -98,3 +98,3 @@ // todo: fix this cast | ||
if (callback) { | ||
callback.call(this._relationQuery, [this]); | ||
callback.call(this._relationQuery, this); | ||
} | ||
@@ -123,3 +123,3 @@ this._query.middleware(new BelongsToRelationRecursiveMiddleware(this._relationQuery, this._description, this._targetModelDescriptor)); | ||
if (callback) { | ||
callback.call(this._relationQuery, [this]); | ||
callback.call(this._relationQuery, this); | ||
} | ||
@@ -177,3 +177,3 @@ this._query.middleware(new DiscriminationMapMiddleware(this._targetModelDescriptor)); | ||
if (callback) { | ||
callback.call(this._relationQuery, [this]); | ||
callback.call(this._relationQuery, this); | ||
} | ||
@@ -180,0 +180,0 @@ const joinRelationDescriptor = { |
{ | ||
"name": "@spinajs/orm", | ||
"version": "2.0.236", | ||
"version": "2.0.237", | ||
"description": "framework orm module", | ||
@@ -58,6 +58,6 @@ "main": "lib/cjs/index.js", | ||
"dependencies": { | ||
"@spinajs/configuration-common": "^2.0.236", | ||
"@spinajs/di": "^2.0.236", | ||
"@spinajs/exceptions": "^2.0.236", | ||
"@spinajs/log-common": "^2.0.236", | ||
"@spinajs/configuration-common": "^2.0.237", | ||
"@spinajs/di": "^2.0.237", | ||
"@spinajs/exceptions": "^2.0.237", | ||
"@spinajs/log-common": "^2.0.237", | ||
"glob": "^8.1.0", | ||
@@ -64,0 +64,0 @@ "glob-to-regexp": "^0.4.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1288221