@bee.js/node 0.0.53 → 0.0.54

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/lib/ORM/beeORM.js CHANGED
@@ -98,10 +98,10 @@ const modelSqlWhere = function (
98
98
  callsWhere = []
99
99
  ) {
100
100
  const q = quote;
101
+ const keys = parseArray(model.indexes?.keys || "");
101
102
 
102
103
  let SQL = "";
103
104
  let gWhere = model.globalWhere ? q(model.globalWhere, "()") : "";
104
- let keys = parseArray(model.indexes.keys);
105
105
 
106
106
  gWhere =
107
107
  gWhere && middlewareParams ? stringBind(gWhere, middlewareParams) : "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bee.js/node",
3
- "version": "0.0.53",
3
+ "version": "0.0.54",
4
4
  "description": "A JavaScript framework for making Node.js API´s",
5
5
  "main": "index.js",
6
6
  "scripts": {