Index: service/datastore/query_test.go |
diff --git a/service/datastore/query_test.go b/service/datastore/query_test.go |
index 6c2d483c5f9fafb124a7675a72eea01baf967a88..b350b9647caa92480179df624031bcce9e7d854c 100644 |
--- a/service/datastore/query_test.go |
+++ b/service/datastore/query_test.go |
@@ -145,6 +145,11 @@ var queryTests = []queryTest{ |
"SELECT DISTINCT `hello` FROM `Foo` ORDER BY `hello`, `__key__`", |
nil, nil}, |
+ {"projecting in an inequality query", |
+ nq().Gte("foo", 10).Project("bar").Distinct(true), |
+ "SELECT DISTINCT `bar` FROM `Foo` WHERE `foo` >= 10 ORDER BY `foo`, `bar`, `__key__`", |
iannucci
2016/02/27 01:02:02
this is wrong though, it should DISTINCT `foo`, `b
|
+ nil, nil}, |
+ |
{"bad ancestors", |
nq().Ancestor(mkKey("goop", 0)), |
"", |