Ouzo\Db::execute PHP 메소드

execute() 공개 메소드

Returns number of affected rows
public execute ( string $query, array $params = [], array $options = [] ) : integer
$query string
$params array
$options array
리턴 integer
    public function execute($query, $params = array(), $options = array())
    {
        return StatementExecutor::prepare($this->_dbHandle, $query, $params, $options)->execute();
    }

Usage Example

예제 #1
0
 public function execute()
 {
     $this->_buildQuery();
     return $this->_db->execute($this->_sql, $this->_boundValues);
 }