private function _buildQueryParams() {
		$query = [];

		$this->_where = is_array($this->_where) ? $this->_where : [];
		foreach ($this->_where as $key => $val) {
			$query[$key] = is_numeric($val) ? (int) $val : $val;
		}

		if(count($this->_select)) {
			$query[$this->selectFieldsKey] = implode(',', $this->_select);
		}
		if($this->_limit !== null) {
			$query[$this->limitKey] = $this->_limit;
		}
		if($this->_offset !== null) {
			$query[$this->offsetKey] = $this->_offset;
		}

		return $query;
	}
private function _buildQueryParams() {
		$query = [];

		$this->_where = is_array($this->_where) ? $this->_where : [];
		foreach ($this->_where as $key => $val) {
			$query[$key] = is_numeric($val) ? (int) $val : $val;
		}

		if(count($this->_select)) {
			$query[$this->selectFieldsKey] = implode(',', $this->_select);
		}
		if($this->_limit !== null) {
			$query[$this->limitKey] = $this->_limit;
		}
		if($this->_offset !== null) {
			$query[$this->offsetKey] = $this->_offset;
		}

		return $query;
	}
private function _buildQueryParams ( ) { $ query = [ ] ; $ this -> _where = is_array ( $ this -> _where ) ? $ this -> _where : [ ] ; foreach ( $ this -> _where as $ key => $ val ) { $ query [ $ key ] = is_numeric ( $ val ) ? ( int ) $ val : $ val ; } if ( count ( $ this -> _select ) ) { $ query [ $ this -> selectFieldsKey ] = implode ( ',' , $ this -> _select ) ; } if ( $ this -> _limit !== null ) { $ query [ $ this -> limitKey ] = $ this -> _limit ; } if ( $ this -> _offset !== null ) { $ query [ $ this -> offsetKey ] = $ this -> _offset ; } return $ query ; }
Build query params
@return array
Build query params