Skip to content

datastore: Query does not allow inequality filter on __key__ property. #917

@vinays

Description

@vinays

Datastore query raises a ValueError for inequality(non-equality to be correct) operators on __key__ property.
https://github.com/GoogleCloudPlatform/gcloud-python/blob/3e86aaed3c7e192a17d9b790f90a41cc2b7baa6a/gcloud/datastore/query.py#L223

According to Google Cloud Datastore documentation inquality operators on __key__ property are supported, and should not raise exception.
https://cloud.google.com/datastore/docs/concepts/queries#Datastore_Key_filters

It is a critical part of our data-model.

Metadata

Metadata

Assignees

Labels

api: datastoreIssues related to the Datastore API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions