-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: optimize queries for label presence
The query term "key>" can be used to search for records that have any value for the key. This optimizes the query with a separate SQL expression and adds tests for this behavior. Change-Id: I5e2734734e0911a3ed12c87e7ada776ad309a90d Reviewed-on: https://go-review.googlesource.com/36590 Reviewed-by: Russ Cox <[email protected]>
- Loading branch information
1 parent
c133759
commit 07bde3b
Showing
2 changed files
with
25 additions
and
4 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