@kohanajs/mixin-orm
Advanced tools
Comparing version 1.0.34 to 1.0.35
@@ -27,3 +27,3 @@ const {ORM, ControllerMixin} = require('kohanajs'); | ||
const result = await ORM.readAll( this.model , null,{database: this.database}); | ||
this.instances = [result].flat(); | ||
this.instances = (!result) ? [] : [result].flat(); | ||
} | ||
@@ -30,0 +30,0 @@ |
{ | ||
"name": "@kohanajs/mixin-orm", | ||
"version": "1.0.34", | ||
"version": "1.0.35", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
12424