0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00
ghost/test
Kevin Ansfield 5e64f113d5 Skipped separate count query in .findPage() for limit="all" requests
no issue

- for large result sets or complex queries the count query itself can be quite time consuming
- when `limit: 'all'` is passed as an option there's no need to perform a separate count query because we can determine the pagination data from the final result set
- skipped count query when `limit: 'all'` option is present
- re-ordered comments to be closer to the code they reference (ie, why we have our own count query instead of Bookshelf's `.count()`
2020-08-27 01:09:07 +01:00
..
api-acceptance 🐛 Fixed ignored created_at and subscribed fields in Members API 2020-08-24 19:35:20 +12:00
frontend-acceptance 🎨 New Google AMP template (#11986) 2020-07-06 17:09:24 +01:00
regression Removed created import labels when no records were imported 2020-08-25 19:23:05 +12:00
unit Skipped separate count query in .findPage() for limit="all" requests 2020-08-27 01:09:07 +01:00
utils 🐛 Fixed ignored created_at and subscribed fields in Members API 2020-08-24 19:35:20 +12:00
.eslintignore Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.json Fixed linting error 2020-04-17 11:32:29 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00