firebase cloud firestorecomplex object code example
Example: how to search for a nested value using where firestore
uid = 'user4';
collectionQuery = collectionReference.where(`members.${uid}.active`,"==", true);
uid = 'user4';
collectionQuery = collectionReference.where(`members.${uid}.active`,"==", true);