googleapis / python-firestore

Apache License 2.0
214 stars 74 forks source link

feat: add IS_NOT_NULL operator to filters #971

Open mgraczyk opened 2 weeks ago

mgraczyk commented 2 weeks ago

This allows filters like x.where("field", "!=", None) to work, matching the javascript implementation.

Also adds a test.

Fixes #970

mgraczyk commented 2 weeks ago

In addition to the unit test, I tested this against my production firestore database and it returns the expected results.

mgraczyk commented 1 day ago

Hi @daniel-sanche, would you mind taking a look or running the workflows? Should be a nice addition and bring the python sdk closer to feature parity with the Node sdk.