RedBeanPHP\Adapter::exec PHP Method

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);