docs: function (limit, offset) {
              if (this.__opts.sql) {
                  return this.fromSelf().limit(limit, offset);
              }
              if (Array.isArray(limit) && limit.length === 2) {
                  offset = limit[0];
                  limit = limit[1] - limit[0] + 1;
              }
              if (isString(limit) || isInstanceOf(limit, LiteralString)) {
                  limit = parseInt("" + limit, 10);
              }
              if (isNumber(limit) && limit < 1) {
                  throw new QueryError("Limit must be >= 1");
              }
              var opts = {limit: limit};
              if (offset) {
                  if (isString(offset) || isInstanceOf(offset, LiteralString)) {
                      offset = parseInt("" + offset, 10);
                      isNaN(offset) && (offset = 0);
                  }
                  if (isNumber(offset) && offset < 0) {
                      throw new QueryError("Offset must be >= 0");
                  }
                  opts.offset = offset;
              }
              return this.mergeOptions(opts);
          }