-1

i want to search from firebase where the name contain that character from search box at any position in the name? any one help me please just like this

Query firebaseSearchQuery = 
myRef.orderByChild("from").contains(searchText);
Frank van Puffelen
  • 499,950
  • 69
  • 739
  • 734

1 Answers1

0

You cannot perform contains query in firestore, you can only perform equals to query in firestore, if you want to perform contains query you need to integrate with Algolia

ked
  • 2,259
  • 19
  • 22