When to use realtime db or firestore db?
When you need to store data online.
Follow this link you will get your answer. https://firebase.google.com/docs/database/rtdb-vs-firestore
Could you please explain it with an example?
Error in Program