src/QueryBuilder.php
protected function _select(string $field, $as = FALSE): string
	{
		// Escape the identifiers
		$field = $this->driver->quoteIdent($field);

		if ( ! \is_string($as))
		{
			return $field;
		}

		$as = $this->driver->quoteIdent($as);
		return "({$field}) AS {$as} ";
	}
protected function _select(string $field, $as = FALSE): string
	{
		// Escape the identifiers
		$field = $this->driver->quoteIdent($field);

		if ( ! \is_string($as))
		{
			return $field;
		}

		$as = $this->driver->quoteIdent($as);
		return "({$field}) AS {$as} ";
	}
protected function _select ( string $ field , $ as = FALSE ) : string { // Escape the identifiers $ field = $ this -> driver -> quoteIdent ( $ field ) ; if ( ! \ is_string ( $ as ) ) { return $ field ; } $ as = $ this -> driver -> quoteIdent ( $ as ) ; return "({$field}) AS {$as} " ; }
Method to simplify select_ methods

@param string $field
@param string|bool $as
@return string
Method to simplify select_ methods