Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
RedBeanPHP
Adapter
getCol
RedBeanPHP\Adapter::getCol PHP Method
Adapter Interface Documentation
Show file
Open project: gabordemooij/redbean
getCol()
public
method
This method returns a single column (one array) resultset. The values array can be used to bind values to the place holders in the SQL query.
public
getCol
(
string
$sql
,
array
$bindings
= [] ) :
array
$sql
string
string containing SQL code for database
$bindings
array
array of values to bind to parameters in query string
return
array
public function getCol($sql, $bindings = array());
Adapter
close
commit
exec
get
getAffectedRows
getAssoc
getAssocRow
getCell
getCol
getCursor
getDatabase
getInsertID
getRow
getSQL
rollback
startTransaction