Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mongodb like query

// find tables/collection in a db - case sensitive
db.getCollectionNames().filter(function (collection) { return /mobile/.test(collection) })
Source by www.mongodb.com #
 
PREVIOUS NEXT
Tagged: #mongodb #query
ADD COMMENT
Topic
Name
1+6 =