Skip to content

Upgrade Notes

Jim Morrison edited this page Apr 27, 2024 · 4 revisions

2.2.x to 2.3.0

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

Clone this wiki locally