I have a collection, users, that contained a field which is array of object:
{"status":"active", "children": [{"name": "jack", "id": 1234}]}
I'm trying to search on this collection and find the user that children.id equals to 1234.
I tried with this:db.collection('users').where('children', 'array_contains', {'id': 1234}).get()
db.collection('users').where('children.id', '==', 1234).get()
but did not work.