commit | 07bde3b0e5c387bda4bae577e0f139cf80294fbb | [log] [tgz] |
---|---|---|
author | Quentin Smith <quentin@golang.org> | Fri Feb 03 14:27:34 2017 -0500 |
committer | Quentin Smith <quentin@golang.org> | Thu Feb 09 20:15:46 2017 +0000 |
tree | e37cbd2f8273e7d683bd1f7a3d8f6d944a7a5e8b | |
parent | c133759b481acf66d3caf06de9140ac7062d017f [diff] |
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 <rsc@golang.org>