-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(gatsby): refactor pagination in preparation to querying lmdb…
… directly (#32135) * refactor(gatsby): apply limit/skip in datastore, not nodeModel - remove firstOnly from fast filters - split nodeModel.runQuery() to two functions: findOne() and findAll() * fix fast filters tests * Switch to { entries, totalCount } as a query result * fix one more test * refactor pagination * Make totalCount async * add a comment about stats usage
- Loading branch information
Showing
8 changed files
with
341 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.