refactor(server): dedupe implementations for write operations
refactor(server): dedupe implementations for write operations

mongodb/node-mongodb-native,mongodb/node-mongodb-native,mongodb/node-mongodb-native,mongodb/node-mongodb-native