Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

177
Views
How to use where clause in google firebase Realtime Database using React Native

I'm trying to delete document where receiver email is test@gmail.com in google firebase realtime database using react native.

import * as firebase from 'firebase';
const database = firebase.database();
database.ref(`private-message`).where('receiver','==','test@gmail.com').remove();

But I have this error.

database.ref("private-message").where is not a function.

database structure like this

Please help me!!!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can do something like this

database.ref(`private-message`).orderByChild('receiver').equalTo(test@gmail.com).remove();
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!