Search⌘ K
AI Features

Introduction to Cloud Firestore

Explore the fundamentals of Cloud Firestore, a flexible NoSQL database by Firebase. Learn to organize data into collections and documents, perform CRUD operations, and use real-time listeners. Understand offline data support and how to enable and secure Firestore in your Firebase project.

Cloud Firestore is a flexible, scalable, real-time NoSQL cloud database provided by Firebase for storing application data. Data is stored as documentsA set of key-value pairs stored in a collection. It can also contain subcollections., organized into collectionsA collection is a group of documents., and synchronized in real-time across multiple client applications. Cloud Firestore seamlessly integrates with other Firebase and Google Cloud products. Like the Realtime Database, it also offers offline support for all client applications.

How it works

Cloud Firestore stores data as documents. A document is a unit of storage made of a set of key-value pairs. It supports various data types—strings, numbers, booleans, arrays—and subcollections. ...