Currently patch, update and remove requires one find and one update/remove towards the DB. Actually for single-document-write(id !== null), we can use findOneAndUpdate, findOneAndDelete from the native mongodb api (https://mongodb.github.io/node-mongodb-native/3.0/tutorials/crud/#findoneandupdate-findoneanddelete-and-findoneandreplace) to do the modification and query with only one DB operation.
Currently
patch,updateandremoverequires onefindand oneupdate/removetowards the DB. Actually for single-document-write(id !== null), we can usefindOneAndUpdate,findOneAndDeletefrom the native mongodb api (https://mongodb.github.io/node-mongodb-native/3.0/tutorials/crud/#findoneandupdate-findoneanddelete-and-findoneandreplace) to do the modification and query with only one DB operation.