1

Is there any possibility to insert wildcards in my Firebase query?

let query = await Firebase.db.collection('lokale').where('name', '==', name).get();

e.g.

let query = await Firebase.db.collection('lokale').where('name', '==', %name%).get();
Frank van Puffelen
  • 499,950
  • 69
  • 739
  • 734
disabled
  • 49
  • 6

1 Answers1

1

You can't search a document which matches the substring, like in your case, but you can u integrate firebase with Algolia and search for documents which contains substring.

ked
  • 2,259
  • 19
  • 22