I am trying to write an optimized search functionality using firestore database and angularfire with angular6 so, what would be good to have manually generated or auto-generated Document IDs?
Asked
Active
Viewed 46 times
0

Mukulit Bhati
- 11
- 1
- 6
-
1Hello and welcome to StackOverflow! Please take some time to read the help page, especially the sections named ["How do I ask a good question?"](https://stackoverflow.com/help/how-to-ask) and ["What types of questions should I avoid asking?"](http://stackoverflow.com/help/dont-ask). Following the best practices will help your questions get answered! You might also want to learn about [Minimal, Complete, and Verifiable Examples](http://stackoverflow.com/help/mcve). – Guillermo Cacheda Aug 01 '18 at 11:23
-
Auto-generated document-ID's are cost less code and are easier to maintain. Less code means less risk on bugs – Bert Verhees Aug 01 '18 at 11:52