Download the code: https://gitlab.com/ryanlogsdon/firestore-deep-queries
We're going to cover 2 ways to work with deep queries in Firebase Cloud Firestore. Firebase likes to call their queries "shallow" or "deep" depending on if the documents have entire documents inside (subcollections).
We'll explore how to make the queries, how to delete the documents at depth, and why we shouldn't delete at all. There's a better approach called "soft deletions", and we'll see how to do a soft delete to our deep collections of documents.
Timestamps:
0:00 - intro
0:24 - build Firestore subcollection
1:38 - simple Angular app
3:53 - deep queries
6:47 - soft delete
Thumbnail Photo by Francesco Ungaro from Pexels
Download
0 formats
No download links available.
Cloud Firestore deep queries and soft deletions with Angular | NatokHD