i have a firestore collection thats structured like this:firestore collection
and i am trying to query as follows:
await db.collection('users').where("company.id", "==", company).where("profiles.default.dailyQuestion", "array-contains", {questionId: 'MwIGtFpz8qzVxJEW5TWc'}).get()
i believe that i am approaching it correctly but it is returning no data from firestore. am i missing something obvious?