Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mongoose remove more than 1 item

Site.deleteMany({ userUID: uid, id: { $in: [10, 2, 3, 5]}}, function(err) {})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mongoose #remove #item
ADD COMMENT
Topic
Name
9+6 =