This page contains code samples for Firestore. To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.
Add a Firestore document using a custom type
Add a Firestore document using a custom type
View in documentation
View in documentation
View in documentation
Create custom shard and counter types for Firestore distributed counters
Create custom shard and counter types for Firestore distributed counters
View in documentation
Get a Firestore document using custom types
Get a Firestore document using custom types
View in documentation
Get Firestore Documents created from custom classes
Get Firestore Documents created from custom classes
View in documentation
View in documentation
Query a collection group using a partitioned query
Query a collection group using a partitioned query
View in documentation
Query a Firestore collection with a not eq filter
Query a Firestore collection with a not eq filter
View in documentation
Query a Firestore collection with a not in filter
Query a Firestore collection with a not in filter
View in documentation
Serialize a Firestore query for execution elsewhere
Serialize a Firestore query for execution elsewhere
Use a custom type on the client for Firestore documents
Use a custom type on the client for Firestore documents
View in documentation