|
Previous Page |
Solar_Sql_Select |
Next Page |
cols()
public
Solar_Sql_Select
cols (
string|array $cols
)
Adds 1 or more columns to the SELECT, without regard to a FROM or JOIN.
Parameters
- (string|array)
$cols: The column(s) to add to the SELECT.
Returns
- (Solar_Sql_Select)
Description
Adds 1 or more columns to the SELECT, without regard to a FROM or JOIN.
Multiple calls to cols() will append to the list of columns, not overwrite the previous columns.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- __toString()
- _addSource()
- _buildFrom()
- _buildJoin()
- _buildSelect()
- _countSubSelect()
- _exception()
- _hasCountCond()
- _join()
- _multiHaving()
- _multiWhere()
- _nameCols()
- _origAlias()
- apiVersion()
- bind()
- clear()
- cols()
- countPages()
- distinct()
- dump()
- fetch()
- fetchAll()
- fetchAssoc()
- fetchCol()
- fetchOne()
- fetchPairs()
- fetchPdo()
- fetchSql()
- fetchValue()
- from()
- fromSelect()
- getPaging()
- group()
- having()
- innerJoin()
- join()
- leftJoin()
- limit()
- limitPage()
- locale()
- multiHaving()
- multiWhere()
- orHaving()
- orWhere()
- order()
- quote()
- quoteInto()
- quoteMulti()
- setPaging()
- unbind()
- where()