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
파일: DB.php 프로젝트: newcart/system
 public function execute($sql)
 {
     return $this->connection->affectingStatement($sql);
 }