You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Firestore is Google Cloud's fully managed, serverless, document-oriented NoSQL database. It is the successor to the original Cloud Datastore and is designed for building web, mobile, and server applications that need real-time synchronisation, offline support, and automatic scaling to zero.
Firestore is a flexible, scalable NoSQL document database that provides:
users (collection)
user-123 (document)
name: "Alice"
email: "alice@example.com"
orders (subcollection)
order-001 (document)
product: "Widget"
quantity: 3
total: 29.97
Firestore supports strings, numbers, booleans, dates, geopoints, arrays, maps (nested objects), references (pointers to other documents), and null values.
Firestore provides rich querying capabilities:
Firestore automatically creates single-field indexes for every field. For queries with multiple filters or ordering, you create composite indexes. Firestore will tell you when a composite index is needed and provide a link to create it.
One of Firestore's most powerful features is real-time synchronisation:
Firestore SDKs (Web, iOS, Android) provide built-in offline support:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.