You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
fit & finish: COUNT and OR queries should be available in firestore module #704
The AggregationQuery, FieldFilter, Or, and And classes are only available in the submodules of firestore_v1. This is an unusual import pattern for this client library. Most Firestore features can be accessed directly from the top-level firestore module.
Examples of normal query usage:
from google.cloud import firestore
db = firestore.Client()
query = db.collection(u'users').where("birthYear", "==", 1906)
docs = query.stream()
Here's an example of printing out a manual page in IPython:
from google.cloud import firestore
help(firestore.CollectionReference)
# Prints out manual page for CollectionReference
Activity