My question is simple but i can not find exact solution. All articles have gor below a line of code:
collection.findOne({hello:\'world_no_safe\'});
Above cod
According to the MongoDB Manual you can use the $regex operator:
$regex
collection.findOne({Name: { $regex: '.*world_no_safe.*' }});