Google Firestore: Query on substring of a property value (text search)
I am looking to add a simple search field, would like to use something like
collectionRef.where('name', 'contains', 'searchTerm')
I tried using where('name', '==', '%searchTerm%')
, but it didn't return anything.