I have some document in firebase like:
{name:'hasaduzzaman'}
{name:'himel'}
and I have firebase query like:
const [searchtext,setSearchText] = useState('')
let collectionRef = firestore.collection('users');
collectionRef.where('name', '==', searchText) // This is comming from the state of react hooks
My main point is if the searchText doesn't match the whole name of the user it doesn't return anything. Is there any way to use the where key without matching the full name of the user