SHARE
TWEET

Untitled

a guest Jul 16th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var bulk =
  2. db.getCollection('contents_copy').initializeUnorderedBulkOp();
  3.  
  4. bulk.find({"contentType":"scorm", "available":false}).update({$set:
  5. {'available':true}});
  6.  
  7. bulk.execute();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top