0

enter image description here

This is How My Document looks like, I want to write a query in which i want to Display only those roomnames whose UserOne or Usetwo Has my name or any name i want.

firebase.database().ref('OnetoOne/').on('value', resp => {
    this.OnetoOne = [];
    this.OnetoOne = snapshotToArray(resp);
    this.isLoadingResults = false;
});

Currently i am using this Query to fetch all the roomname.

Frank van Puffelen
  • 499,950
  • 69
  • 739
  • 734

0 Answers0