mongo-bulk
Version:
Lightweight wrapper around mongodb's bulkWrite for more intuitive bulk operations
15 lines (12 loc) • 321 B
JavaScript
import bulkDelete from './bulkDelete';
import bulkInsert from './bulkInsert';
import bulkReplace from './bulkReplace';
import bulkUpdate from './bulkUpdate';
import bulkWrite from './bulkWrite';
const bulk = module.exports = bulkWrite;
Object.assign(bulk, {
bulkDelete,
bulkInsert,
bulkReplace,
bulkUpdate,
});