How i can get data from array stored in collection?
Here's screen from my firestore.
I tried to log this array by
const ref = await firestore
.collection("users")
.where("id", "==", key)
.get();
console.log(ref);
But ref in console tells me that empty: true and array is 0.
Any tips?