Sasha
f67761fe22
fix(db-mongodb): totalDocs with joins ( #9056 )
...
### What?
Fixes issue with incorrect `totalDocs` value when an aggregation is used
for `find`.
Previously, `limit: 5` for example always returned `totalDocs: 5`.
### Why?
`totalDocs` must be returned correctly.
### How?
Removes `$limit` from the pipeline, as `Model.aggregatePaginate` handles
it by itself.
2024-11-08 14:04:24 -05:00
..
2024-11-07 11:47:26 -05:00
2024-11-08 14:04:24 -05:00
2024-11-07 22:54:45 +00:00
2024-11-07 22:54:45 +00:00
2024-11-07 22:54:45 +00:00
2024-11-07 22:54:45 +00:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-10-18 06:09:51 +00:00
2024-10-18 06:09:51 +00:00
2024-11-07 22:54:45 +00:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-08 13:41:15 -05:00
2024-11-08 18:45:11 +02:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-06 16:23:57 -05:00
2024-11-07 17:56:57 -05:00
2024-11-08 12:20:44 -06:00