Search code examples
google-app-enginegoogle-cloud-platformpython-2.xndb

Writing query with where clause in Python NDB


So I have a query that looks like

 data = ndb.Key('Account', int(entity_id)).get()

is it possible to add a where clause and filter by other fields


Solution

  • For that, you need to use ndb.query() – @gaefan comment