I am looking to add a simple search field, would like to use something like
collectionRef.where(\'name\', \'contains\', \'searchTerm\')
I tried
We can use the back-tick to print out the value of a string. This should work:
where('name', '==', `${searchTerm}`)