@kohanajs/mixin-orm
Advanced tools
Comparing version 1.0.43 to 1.0.44
@@ -32,3 +32,3 @@ const {ORM, ControllerMixin} = require('kohanajs'); | ||
const page = parseInt(this.request.query.page ?? "1") - 1; | ||
const result = await ORM.readAll( this.model , null,{database: this.database, limit: limit, offset: page * limit}); | ||
const result = await ORM.readAll( this.model, {database: this.database, limit: limit, offset: page * limit}); | ||
this.count = await ORM.count(this.model, {database: this.database}); | ||
@@ -35,0 +35,0 @@ this.instances = (!result) ? [] : [result].flat(); |
{ | ||
"name": "@kohanajs/mixin-orm", | ||
"version": "1.0.43", | ||
"version": "1.0.44", | ||
"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
16552