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
exec
RedBeanPHP\Adapter::exec PHP Method
Adapter Interface Documentation
Show file
Open project: gabordemooij/redbean
exec()
public
method
Executes an SQL Statement using an array of values to bind If $noevent is TRUE then this function will not signal its observers to notify about the SQL execution; this to prevent infinite recursion when using observers.
public
exec
(
string
$sql
,
array
$bindings
= [],
boolean
$noevent
= FALSE ) :
void
$sql
string
string containing SQL code for database
$bindings
array
array of values to bind to parameters in query string
$noevent
boolean
no event firing
return
void
public function exec($sql, $bindings = array(), $noevent = FALSE);
Adapter
close
commit
exec
get
getAffectedRows
getAssoc
getAssocRow
getCell
getCol
getCursor
getDatabase
getInsertID
getRow
getSQL
rollback
startTransaction