ts-redis-orm
Advanced tools
Comparing version 0.1.5 to 0.1.6
{ | ||
"name": "ts-redis-orm", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "A full functional Redis Orm library written in Typescript.", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -342,3 +342,7 @@ import Debug from "debug"; | ||
if (whereIndexKeys.length === 0) { | ||
this.where("createdAt", "<=", "+inf"); | ||
if (this._sortBy && serviceInstance.isIndexKey(this._entityType, this._sortBy.column)) { | ||
this.where(this._sortBy.column as any, "<=", "+inf"); | ||
} else { | ||
this.where("createdAt", "<=", "+inf"); | ||
} | ||
whereIndexKeys = Object.keys(this._whereIndexes); | ||
@@ -345,0 +349,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
322707
6201