Complete Working Example
The snippet below combines every step above into a singleasyncio.run() call you can copy, adjust the project_id and emulator_host, and run immediately:
Next Steps
Installation
Detailed install options, dependency versions, and credential setup for all environments.
Models
Learn how to define fields, aliases, nested objects, and model configuration.
Querying
Filters, ordering, pagination, projections, and collection-group queries.
Subcollections
Declare parent–child relationships and query deeply nested documents.
Batch Operations
Atomic multi-document writes and transactions.
Testing
Emulator setup and unit-test mocking strategies.
