Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

update mongoose

CommentaireArticleModel.update({ pseudo : 'Atinux'}, { pseudo : 'Nikita' }, { multi : true }, function (err) {
  if (err) { throw err; }
  console.log('Pseudos modifiés !');
});
Source by atinux.developpez.com #
 
PREVIOUS NEXT
Tagged: #update #mongoose
ADD COMMENT
Topic
Name
7+7 =