Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Unified Diff: service/datastore/finalized_query.go

Issue 1378613003: Fix bugs in service/datastore (Closed) Base URL: https://github.com/luci/gae.git@add_has_ancestor
Patch Set: fixit Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « impl/memory/datastore_query_execution_test.go ('k') | service/datastore/index.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/datastore/finalized_query.go
diff --git a/service/datastore/finalized_query.go b/service/datastore/finalized_query.go
index c57eaa97b4a7b10154c5840ebaae2b8a8b8cd5f3..8a6d75725dc054ef419ee23b5c0f38bd01bcf762 100644
--- a/service/datastore/finalized_query.go
+++ b/service/datastore/finalized_query.go
@@ -240,6 +240,8 @@ func (q *FinalizedQuery) GQL() string {
}
ws(" ")
ws(strings.Join(proj, ", "))
+ } else if q.keysOnly {
+ ws(" __key__")
} else {
ws(" *")
}
« no previous file with comments | « impl/memory/datastore_query_execution_test.go ('k') | service/datastore/index.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698