@spinajs/orm-sqlite
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -29,3 +29,3 @@ "use strict"; | ||
if (sort) { | ||
stmt = ` ORDER BY ? ${sort.order.toLowerCase() === "asc" ? "ASC" : "DESC"}`; | ||
stmt = ` ORDER BY ${sort.column} ${sort.order.toLowerCase() === "asc" ? "ASC" : "DESC"}`; | ||
bindings.push(sort.column); | ||
@@ -32,0 +32,0 @@ } |
{ | ||
"name": "@spinajs/orm-sqlite", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "SpinaJS orm sqlite support. Contains sqlite driver.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
23254