code: function customViewCleanup(db) {
      return new Promise(function (resolve, reject) {
        db._viewCleanup(function (err, res) {
          if (err) {
            return reject(err);
          }
          resolve(res);
        });
      });
    }
docs: custom adapters can define their own api._viewCleanup and override the default behavior /* istanbul ignore next