spice-js 2.5.26 → 2.5.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/models/SpiceModel.js +2 -2
package/package.json
CHANGED
package/src/models/SpiceModel.js
CHANGED
|
@@ -375,9 +375,9 @@ export default class SpiceModel {
|
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
async query(query) {
|
|
378
|
+
async query(query, scope) {
|
|
379
379
|
try {
|
|
380
|
-
let results = await this.database.query(query);
|
|
380
|
+
let results = await this.database.query(query, scope);
|
|
381
381
|
return results;
|
|
382
382
|
} catch (error) {
|
|
383
383
|
throw error;
|