This is a valid GQL query:
SELECT __key__ FROM __namespace__ WHERE __key__ > KEY(__namespace__, "foo")
Currently, bounded __namespace__ queries will not work. There are two underlying problems, one global and one specifically applying to impl/memory.
Globally, FinalizedQuery.Valid disallows special kind keys when validating inequality filters, so this query cannot be validated.
Additionally, in impl/memory, inequality filters aren't applied to namespace queries.
This is a valid GQL query:
SELECT __key__ FROM __namespace__ WHERE __key__ > KEY(__namespace__, "foo")Currently, bounded
__namespace__queries will not work. There are two underlying problems, one global and one specifically applying toimpl/memory.Globally, FinalizedQuery.Valid disallows special kind keys when validating inequality filters, so this query cannot be validated.
Additionally, in
impl/memory, inequality filters aren't applied to namespace queries.