Contextual information about the hook.
The query to be used for the count()
operation instead of the original query. Returning a rejected promise will block the operation and will return a rejected promise to the caller as well as trigger the onFailure()
hook.
The original query as defined by
count()
.