-
-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Materialize the nearby DB query for performance.
The easiest way to do this, given all the other query parameter construction going on, seems to be fetch the finished query and replace the table lookup with the materialized CTE of the data, then look up the full rows after to save having to work out how to construct them ourselves.
- Loading branch information
Showing
1 changed file
with
28 additions
and
7 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