function _executePostExecHooks(query) {
  return new Promise((resolve, reject) => {
    query._hooks.execPost('exec', query, [], {}, (error) => {
      if (error) {
        return reject(error);
      }

      resolve();
    });
  });
}
Executes the query

#### Example:

    const promise = query.exec();
    const promise = query.exec('update');

@param {String|Function} [operation]
@return {Promise}
@api public