0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core
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
..
client@328e5b29c7 Updated Ghost-Admin to v3.31.2 2020-08-25 12:57:57 +01:00
frontend 🐛 Fixed published time and modified time for structured data (#12085) 2020-08-18 11:34:06 +01:00
server Skipped separate count query in .findPage() for limit="all" requests 2020-08-27 01:09:07 +01:00
shared Added minor member newsletter customisations via config 2020-08-24 10:44:22 +01:00
index.js Refactored server announce functions to be clearer 2020-08-09 17:25:15 +01:00