i wan to search into two fields form database.
if one is true i want to return that row.
for one field i am using the code
return '{"cat":{"$regex":"^'+value+'", "$options":"i"}}';
what would be the code for two fields?
pl. help
i wan to search into two fields form database.
if one is true i want to return that row.
for one field i am using the code
return '{"cat":{"$regex":"^'+value+'", "$options":"i"}}';
what would be the code for two fields?
pl. help
Hello! Use $or in where https://getsatisfaction.com/apperyio/...