-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
  • 565,676
  • 79
  • 828
  • 807

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,426
  • 21
  • 24