@cocreate/mongodb 1.18.3 → 1.18.5
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/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/src/index.js +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.18.5](https://github.com/CoCreate-app/CoCreate-mongodb/compare/v1.18.4...v1.18.5) (2024-07-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* if startingIndex use as index ([7d5ee2e](https://github.com/CoCreate-app/CoCreate-mongodb/commit/7d5ee2e88d7a47270db0ea7045a87181bd9672e3))
|
|
7
|
+
|
|
8
|
+
## [1.18.4](https://github.com/CoCreate-app/CoCreate-mongodb/compare/v1.18.3...v1.18.4) (2024-06-23)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* add lock file ([3235b66](https://github.com/CoCreate-app/CoCreate-mongodb/commit/3235b668e46e94c45d5487f4c421d29546c03b6f))
|
|
14
|
+
|
|
1
15
|
## [1.18.3](https://github.com/CoCreate-app/CoCreate-mongodb/compare/v1.18.2...v1.18.3) (2024-06-23)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -412,6 +412,9 @@ function object(method, data) {
|
|
|
412
412
|
if (method === 'read')
|
|
413
413
|
projection = { ...projections, ...projection }
|
|
414
414
|
|
|
415
|
+
if (data.$filter && data.$filter.startingIndex >= 0)
|
|
416
|
+
index = data.$filter.startingIndex
|
|
417
|
+
|
|
415
418
|
dataTransferedOut += getBytes({ query, projection, sort, index, limit })
|
|
416
419
|
|
|
417
420
|
let document = ''
|