affectingStatement() public méthode

Run an SQL statement and get the number of rows affected.
public affectingStatement ( string $query, array $bindings = [] ) : integer
$query string
$bindings array
Résultat integer
Exemple #1
0
 public function execute($sql)
 {
     return $this->connection->affectingStatement($sql);
 }