11 Matching Annotations
  1. Jul 2020
    1. Security rules apply only at the matched path, so the access controls defined on the cities collection do not apply to the landmarks subcollection. Instead, write explicit rules to control access to subcollections
  2. Jun 2020
    1. Duplicated data is a common practice when working with non-relational databases as Firebase. It saves us from performing extra queries to get data making data retrieval faster and easier
    2. normalizing our dabatase will help us. What means normalize? Well, it simply means to separate our information as much as we can

      directly contradicts firebase's official advice: denormalize the structure by duplicating some of the data: https://youtu.be/lW7DWV2jST0?t=378

    1. Documents in Cloud Firestore should be lightweight, and a chat room could contain a large number of messages
    2. In Cloud Firestore, the unit of storage is the document. A document is a lightweight record that contains fields, which map to values. Each document is identified by a name.
    3. Cloud Firestore's NoSQL data model, you store data in documents that contain fields mapping to values
    1. can also think of collections similarly to tables in a SQL Database
    2. we’re going to use cloud firestore because it’s easier to work with and more versatile