lib/waterline/utils/query/get-query-modifier-methods.js
function(limit) {

    if (!this._alreadyInitiallyExpandedCriteria) {
      this._wlQueryInfo.criteria = expandWhereShorthand(this._wlQueryInfo.criteria);
      this._alreadyInitiallyExpandedCriteria = true;
    }//>-

    this._wlQueryInfo.criteria.limit = limit;

    return this;
  }
function(limit) {

    if (!this._alreadyInitiallyExpandedCriteria) {
      this._wlQueryInfo.criteria = expandWhereShorthand(this._wlQueryInfo.criteria);
      this._alreadyInitiallyExpandedCriteria = true;
    }//>-

    this._wlQueryInfo.criteria.limit = limit;

    return this;
  }
function ( limit ) { if ( ! this . _alreadyInitiallyExpandedCriteria ) { this . _wlQueryInfo . criteria = expandWhereShorthand ( this . _wlQueryInfo . criteria ) ; this . _alreadyInitiallyExpandedCriteria = true ; } //>- this . _wlQueryInfo . criteria . limit = limit ; return this ; }
Add a `limit` clause to the query's criteria.

@param {Number} number to limit
@returns {Query}
Add a limit clause to the query s criteria .