alexa
Facebook
Twitter
LinkedIn
Instagram
Whatsapp
Call Now
Quick Inquiry

Good option in Firestore [closed] ?

Good option in Firestore [closed] ?

General NoSQL philosophy:

  1. DO Repeat Yourself

Static or mostly static data SHOULD be repeated where convenient (such as a User's name for display, or in your case regions and districts). There should be ONE "source of truth" record for such data, but since the data is static you can add it to things like Blog Posts, Comments, etc so it's already available for display and queries. Try to have everything you need to display or find a "thing" in a single document representing that "thing".

  1. DON'T design your queries to fit your database structure

Design your database structure to fit your intended queries Think about how you want to "ask questions" from your database - and design your structure to make it easy to query your data the way you want to use it.


66 0
7

Write a Comments


* Be the first to Make Comment

GoodFirms Badge
GoodFirms Badge

Fix Your Meeting With Our SEO Consultants in India To Grow Your Business Online