Skip to content

Conversation

@daniel-sanche
Copy link
Contributor

Building off of #971

allow != for None and Nan comparisons:

  • x.where("field", "!=", None)
  • x.where("field", "!=", float(nan))

Fixes #970

Thanks @mgraczyk!

@daniel-sanche daniel-sanche requested review from a team as code owners December 20, 2024 00:41
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: firestore Issues related to the googleapis/python-firestore API. labels Dec 20, 2024
@daniel-sanche daniel-sanche changed the title Is not null operator feat: support not_equal for none and nan Dec 20, 2024
@daniel-sanche daniel-sanche changed the title feat: support not_equal for none and nan feat: support not_equal queries for none and nan Dec 20, 2024
@mgraczyk
Copy link
Contributor

mgraczyk commented Jan 8, 2025

Thanks for working on this!

@daniel-sanche daniel-sanche merged commit cbaf4ae into main Jan 13, 2025
22 checks passed
@daniel-sanche daniel-sanche deleted the is_not_null_operator branch January 13, 2025 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: firestore Issues related to the googleapis/python-firestore API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement IS_NOT_NULL

5 participants