June 2018
Beginner to intermediate
394 pages
9h 2m
English
Since Firestore is a NoSQL document-oriented database, it will not have rows and tables like an SQL database. You can store the data in the form of documents and collections. Every document contains a set of key-value pairs. Also, Firestore is optimized to store a large collection of the small document.
All documents should be stored in collections, and Firestore identifies the document by its location in the database. In Firestore, a document is a unit of storage. A document is a record that contains fields.
A data model allows developers to create a reference for documents. An example is shown as follows:
DocumentReference alovelaceDocumentRef = db.collection("readers").document("firebaseMastering");
We can also ...
Read now
Unlock full access