The find object to be used instead of the original find object specified by the caller. Returning a rejected promise will block the operation and will return a rejected promise to the caller as well as trigger the onFailure() hook.
Description
A hook that is triggered before findOne() operation.
Description
A hook that is triggered before
findOne()
operation.