i'm using Firestore as my database in a project and i have a table that i need to do a query inside an object
{
foo: "data",
bar: "data",
exObject: {
dataToQuery: "value"
}
}
here is an example of a structure where i want to do a query inside the object a query that would look like this:
dbRef.collection("Table").where("exObject.dataToQuery", "==", "value")
but this is not working.
Is there a way to query in Firestore using an object's inner value as parameter? If not, is there a way to achieve something that would give the same result?
Example of a Firestore Structure