Skip to main content

Posts

Showing posts with the label Firebase

Firebase: Introduction to Cloud Firestore

I am learning about the cloud firestore. I learnt from Firebase docs and videos. mostly videos and you can also watch the video and come back here to take these notes as reminder about the video. What is NoSQL Database? NoSql databases are usually schema-less, it means there are not any kind of restriction to store the data in the database. So, NoSql database is not going to store the all of data in table like structure. There are different ways to store the data. It can be:- Plain key value pair Nested tree structure  JSON object This type of approach of storing the data may look messy but lots of developer like working with a schema-less database. In NoSQL database, we can easily add or change the fields without breaking anything in design. For the every record in NoSQL database, fields can be different, for eg: one record has {firstName, lastName, age} and for the next record we stored as {firstName, middleName, lastName, age, city}. The drawback here is th...