Answers for "mongoose get elements that contain substring"

0

mongoose get elements that contain substring

Books.find(
    { "authors": { "$regex": "Alex", "$options": "i" } },
    function(err,docs) { 
    } 
);
Posted by: Guest on May-29-2021

Code answers related to "mongoose get elements that contain substring"

Code answers related to "Javascript"

Browse Popular Code Answers by Language