scripts.1.4.0.1-update-application.js Maven / Gradle / Ivy
db.applications.find().forEach(
function(app) {
db.applications.updateOne({_id: app._id}, {$set: {status: 'ACTIVE'}}, { upsert: true} );
}
);
db.applications.find().forEach(
function(app) {
db.applications.updateOne({_id: app._id}, {$set: {status: 'ACTIVE'}}, { upsert: true} );
}
);