Answer the question
In order to leave comments, you need to log in
How to find data in mongo?
Let's say I have the name Fermented Fish-Less Fish Sauce | no-cook. Looking for this name. Searches on the first word, on the last. But if I want, for example, to find Fermented Fish, how can I do it?
In JS, I have it like this now
query.title = {
$regex : data.title,
$options : 'i' };
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question