Maps, Arrays and Subcollections, Oh My! | Get to know Cloud Firestore #4

Firebase
Firebase
291.9 هزار بار بازدید - 6 سال پیش - Is your Cloud Firestore data
Is your Cloud Firestore data structure set up correctly? Cloud Firestore supports Subcollections, Maps, and Arrays, all of which can be useful, but it's sometimes difficult to know when to use which one. Why create a subcollection when you could just create an array of maps? Or a map of maps? When is it appropriate to use one over the other? And what would work best in your app?

In this episode of Get to Know Cloud Firestore, Todd does his best to get your questions answered and gives you all the pros and cons, so you can structure your data the right way.

Cloud Firestore Data model → http://bit.ly/2PZtQnD

More episodes on Cloud Firestore → https://goo.gle/Cloud-Firestore
Subscribe to Firebase → https://goo.gle/Firebase
6 سال پیش در تاریخ 1397/06/20 منتشر شده است.
291,962 بـار بازدید شده
... بیشتر