Files
payloadcms/test
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-10-30 17:56:50 +00:00
2024-08-13 12:54:33 -04:00
2024-10-30 17:56:50 +00:00
2024-07-23 13:44:44 -04:00
2024-05-25 15:45:05 +00:00
2024-08-13 12:54:33 -04:00
2024-08-13 12:54:33 -04:00