All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scripts.3.0.0.6-remove-ALL-view-and-defaultView-field.js Maven / Gradle / Ivy

The newest version!
print('Remove default view "ALL" and "defaultView" field  from others views');
db.views.remove({'_id': 'all'});
db.views.update({}, {$unset: {'defaultView': ''}}, false, true);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy