#query filtering vs js filtering performance
2 messages · Page 1 of 1 (latest)
The main difference is ergonomic: You can put the query filter() before paginate() for example.
There might be a small perf difference, but it's probably negligible compared to the overall performance of the query, which can mainly suffer from scanning over many documents.