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

Unified Diff: service/datastore/finalized_query.go

Issue 1309803004: Add transaction buffer filter. (Closed) Base URL: https://github.com/luci/gae.git@add_query_support
Patch Set: make data flow clearer, implement Count 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
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__")
iannucci 2015/09/29 04:43:28 so KeysOnly queries show up distinct from regular
} else {
ws(" *")
}

Powered by Google App Engine
This is Rietveld 408576698