4 ms·
Couple of questions. For the querying: https://firebase.google.com/docs/firestore/query-data/queries https://firebase.google.com/docs/firestore/query-data/quer
by ralusek 9y ago
Couple of questions. For the querying:
https://firebase.google.com/docs/firestore/query-data/queries https://firebase.google.com/docs/firestore/query-data/querie...
It seems as though there is just the capability for AND logic between the WHERE queries, is that correct. Is the any plans to add AND/OR and perhaps a concept for representing grouping like parentheses?
And for the data structures:
https://firebase.google.com/docs/firestore/manage-data/structure-data https://firebase.google.com/docs/firestore/manage-data/struc...
Is there any capability to perform joins or have the data populated at query time?
And for the last thing:
It is mentioned multiple times in the documentation that nested collections will not be deleted if the parent is deleted. I'm just curious why there isn't the capability to insert a document with options that would allow something like a cascade delete. Since you allow indexes on collections, there is obviously some sort of metadata maintained, why not just add an additional flag that could be set so that whenever a record is deleted it can optionally have its subcollections removed as well?