I'm trying to find an element of an array field in my firestore collection.
This is the field in firestore:
channels: [{name: "linkedin", date: "2020-01-02"}]
This is how I tried querying it:
firebase.firestore().collection("users")
.where("status", "==", "ACTIVE")
.where("channels", "array-contains", {
name: "linkedin"
})