How to access RefImpl data inside js script

Viewed 107

I have js code to access data from firebase look like this:

const { user } = getUser();
const { documents: mahasiswa } = getCollection("mahasiswa", ["userId", "==", user.value.uid]);
console.log(mahasiswa);

The output of the console:

enter image description here

But, how i can access the data inside RefImpl inside of my js code, example:

let angkatan = mahasiswa.angkatan
0 Answers
Related