connectfy-shared 0.0.74 → 0.0.77
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/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -11485,7 +11485,7 @@ var BaseRepository = class {
|
|
|
11485
11485
|
skip = 0,
|
|
11486
11486
|
limit = 10
|
|
11487
11487
|
} = params;
|
|
11488
|
-
return await this.model.
|
|
11488
|
+
return await this.model.find(query).select(fields).skip(skip).limit(limit).sort(sort).populate(populate).lean().exec();
|
|
11489
11489
|
}
|
|
11490
11490
|
// ================================================
|
|
11491
11491
|
// EXIST AND COUNT FUNCTIONS
|
package/dist/index.mjs
CHANGED
|
@@ -11443,7 +11443,7 @@ var BaseRepository = class {
|
|
|
11443
11443
|
skip = 0,
|
|
11444
11444
|
limit = 10
|
|
11445
11445
|
} = params;
|
|
11446
|
-
return await this.model.
|
|
11446
|
+
return await this.model.find(query).select(fields).skip(skip).limit(limit).sort(sort).populate(populate).lean().exec();
|
|
11447
11447
|
}
|
|
11448
11448
|
// ================================================
|
|
11449
11449
|
// EXIST AND COUNT FUNCTIONS
|