src/query.js
function() {
        var params = {
          where: this._where,
        };

        if (this._include.length > 0) {
          params.include = this._include.join(',');
        }
        if (this._select.length > 0) {
          params.keys = this._select.join(',');
        }
        if (this._includeACL !== undefined) {
          params.returnACL = this._includeACL;
        }
        if (this._limit >= 0) {
          params.limit = this._limit;
        }
        if (this._skip > 0) {
          params.skip = this._skip;
        }
        if (this._order !== undefined) {
          params.order = this._order;
        }

        AV._objectEach(this._extraOptions, function(v, k) {
          params[k] = v;
        });

        return params;
      }
function() {
        var params = {
          where: this._where,
        };

        if (this._include.length > 0) {
          params.include = this._include.join(',');
        }
        if (this._select.length > 0) {
          params.keys = this._select.join(',');
        }
        if (this._includeACL !== undefined) {
          params.returnACL = this._includeACL;
        }
        if (this._limit >= 0) {
          params.limit = this._limit;
        }
        if (this._skip > 0) {
          params.skip = this._skip;
        }
        if (this._order !== undefined) {
          params.order = this._order;
        }

        AV._objectEach(this._extraOptions, function(v, k) {
          params[k] = v;
        });

        return params;
      }
function ( ) { var params = { where : this . _where , } ; if ( this . _include . length > 0 ) { params . include = this . _include . join ( ',' ) ; } if ( this . _select . length > 0 ) { params . keys = this . _select . join ( ',' ) ; } if ( this . _includeACL !== undefined ) { params . returnACL = this . _includeACL ; } if ( this . _limit >= 0 ) { params . limit = this . _limit ; } if ( this . _skip > 0 ) { params . skip = this . _skip ; } if ( this . _order !== undefined ) { params . order = this . _order ; } AV . _objectEach ( this . _extraOptions , function ( v , k ) { params [ k ] = v ; } ) ; return params ; }
Returns a JSON representation of this query.
@return {Object}
Returns a JSON representation of this query .