public function setSelect($column, $as = null, $count = false)
	{
		// A default * is often added, get rid of it if anything else is added
		// This wouldn't get rid of table.* as that is likely added intentionally
		if (isset($this->select[0]) && $this->select[0]['column'] == '*')
		{
			$this->resetSelect();
		}

		$this->select[] = [
			'column' => $column,
			'as'     => $as,
			'count'  => $count
		];
	}
public function setSelect($column, $as = null, $count = false)
	{
		// A default * is often added, get rid of it if anything else is added
		// This wouldn't get rid of table.* as that is likely added intentionally
		if (isset($this->select[0]) && $this->select[0]['column'] == '*')
		{
			$this->resetSelect();
		}

		$this->select[] = [
			'column' => $column,
			'as'     => $as,
			'count'  => $count
		];
	}
public function setSelect ( $ column , $ as = null , $ count = false ) { // A default * is often added, get rid of it if anything else is added // This wouldn't get rid of table.* as that is likely added intentionally if ( isset ( $ this -> select [ 0 ] ) && $ this -> select [ 0 ] [ 'column' ] == '*' ) { $ this -> resetSelect ( ) ; } $ this -> select [ ] = [ 'column' => $ column , 'as' => $ as , 'count' => $ count ] ; }
Sets a select element on the query

@param   string  $column  The column to select
@param   string  $as      What to call the return val
@param   bool    $count   Whether or not to count column
@return  void
@since   2.0.0
Sets a select element on the query