DataStore: query.add_filter return self #5
Labels
api: datastore
Issues related to the googleapis/python-datastore API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
this method return an None type
original code like this
This makes it impossible to add filtering and fetch it on one line
Please let it return it self!
Therefore you can code like this:
query_results = client.query(kind='Task').add_filter("name", "=", "something").fetch()
Code modification requires only one line, but this will be of great benefit.
The text was updated successfully, but these errors were encountered: