-
Notifications
You must be signed in to change notification settings - Fork 67
Upgrade Notes
Jim Morrison edited this page Apr 27, 2024
·
4 revisions
Server side IN queries are now supported. However, they have the following caveats:
- IN queries with GQL are still done client side.
- server_op=True must be set on the property filter. E.g.
SomeKind.foo.IN([1, 2], server_op=True)
Server side IN queries may require different indexes than those done client side.
The server side !=
operator does not work with the Datastore emulator. Instead use the Cloud Firestore
emulator or switch the query to ndb.OR(x > 1, x < 1)
.
To use the Cloud Firestore emulator, use gcloud emulators firestore start --database-mode=datastore-mode