DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
mongoose get elements that contain substring
Books.find( { "authors": { "$regex": "Alex", "$options": "i" } }, function(err,docs) { } );
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#mongoose
#elements
#substring
ADD COMMENT
Topic
COMMENT
Name
8+5 =
Submit