@spinajs/orm-sqlite
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -22,6 +22,7 @@ "use strict"; | ||
execute(stmt, params, queryContext) { | ||
const queryParams = (params !== null && params !== void 0 ? params : []); | ||
if (!this.Db) { | ||
throw new Error("cannot execute sqlite statement, no db connection avaible"); | ||
} | ||
const queryParams = (params !== null && params !== void 0 ? params : []); | ||
super.execute(stmt, queryParams, queryContext); | ||
return new Promise((res, rej) => { | ||
@@ -28,0 +29,0 @@ switch (queryContext) { |
{ | ||
"name": "@spinajs/orm-sqlite", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"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
21035
305