javascript – Recover data via the table of a Firebase collection

Catching a collaborator X that is TRUE displays all the data in that collection. For example, I want to get the data from

UID: b6CS4TAejgfii54HzWMwhWPdYQB2 and that is TRUE

I tried to see if it showed something like that.

ref const = firebase.database (). rer (time);

(value, 'snapshot => {value', 'snapshot', 'snapshot'
console.log (snapshot.val ());

but seemed nil

My collection is just below:

insert the description of the image here