Thank you Yurii!
Thank you Yurii!
Hi. I am trying to make a case insensitive database query. My current query is:
return '{"Product":"'+value+'"}';
I tried: return '{"Product":{"$regex":"value", "$options":"i"}}
with no success. Any help?
How do I stop the output from a database search from being undefined? My database works as long as the item being searched is in the database. If it isn't, the app returns "undefined." I would like it to say "The item was not found" but I don't know how. Anyone know how?