affectingStatement() публичный Метод

Run an SQL statement and get the number of rows affected.
public affectingStatement ( string $query, array $bindings = [] ) : integer
$query string
$bindings array
Результат integer
Пример #1
0
 public function execute($sql)
 {
     return $this->connection->affectingStatement($sql);
 }