Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

loop through a collection mongo db

> db.posts.find().forEach(function(doc) { print('Blog Post: ' + doc.title) })
 
PREVIOUS NEXT
Tagged: #loop #collection #mongo #db
ADD COMMENT
Topic
Name
6+4 =