bonsaif 1.10.42 → 1.10.43
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/hookup/mongodb.js +1 -0
- package/lib/hookup/redis.js +2 -2
- package/package.json +1 -1
package/lib/hookup/mongodb.js
CHANGED
package/lib/hookup/redis.js
CHANGED
|
@@ -560,7 +560,7 @@ const del=async( options,db, key )=>{ //DEL key [key ...]
|
|
|
560
560
|
|
|
561
561
|
// Busca llaves de un hash con la combinacion de busquedas similar a un where
|
|
562
562
|
// 2022/04/26 VRSZ Se cambia la busqueda de rows
|
|
563
|
-
const hfind=async(options,db, key, filter, order, limit=
|
|
563
|
+
const hfind=async(options,db, key, filter, order, limit=1000)=>{
|
|
564
564
|
let {field:orderBy, val:orderVal} = getFirstField(order);
|
|
565
565
|
|
|
566
566
|
//2022/10/14 VRSZ Se realiza regla para combinar sentencias IN, AND, y/o OR
|
|
@@ -882,7 +882,7 @@ const api=async(options, dbm, json)=>{
|
|
|
882
882
|
let order = json.order!=null ? json.order:{};
|
|
883
883
|
let counter = json.counter!=null?json.counter:0;
|
|
884
884
|
let toJson = json.toJson!=null?json.toJson:0;
|
|
885
|
-
let limit = json.limit!=null?json.limit:
|
|
885
|
+
let limit = json.limit!=null?json.limit:1000;
|
|
886
886
|
|
|
887
887
|
let lstart = json.start!=null?json.start*1:0;
|
|
888
888
|
let lstop = json.stop!=null?json.stop*1:-1;
|