lib/builder.js
function limit(value) {
    var val = parseInt(value, 10);
    if (isNaN(val)) {
      debug('A valid integer must be provided to limit');
    } else {
      this._single.limit = val;
    }
    return this;
  }
function limit(value) {
    var val = parseInt(value, 10);
    if (isNaN(val)) {
      debug('A valid integer must be provided to limit');
    } else {
      this._single.limit = val;
    }
    return this;
  }
function limit ( value ) { var val = parseInt ( value , 10 ) ; if ( isNaN ( val ) ) { debug ( 'A valid integer must be provided to limit' ) ; } else { this . _single . limit = val ; } return this ; }
Only allow a single "limit" to be set for the current query.
Only allow a single limit to be set for the current query .