i am currently working on a search function in my app. this gets a reference of my firebase database snapshot. im using the firebaseDatabase package for this.
currently im using this to search my database
the searchQuery variable is the the used string to search the database. this returns the list of products which the titles are equal to searchQuery.
searchQuery = 'hello'; title1 = 'hello'; title2 = 'hello there';
for now, only
searchQuery == title1; searchQuery != title2;
but i also want this to be returned
searchQuery == title2;
is this possible in the way im using this for now?