framework/db/sqlite/Command.php
public function execute()
    {
        $sql = $this->getSql();
        $params = $this->params;
        $statements = $this->splitStatements($sql, $params);
        if ($statements === false) {
            return parent::execute();
        }

        $result = null;
        foreach ($statements as $statement) {
            list($statementSql, $statementParams) = $statement;
            $this->setSql($statementSql)->bindValues($statementParams);
            $result = parent::execute();
        }
        $this->setSql($sql)->bindValues($params);
        return $result;
    }
public function execute()
    {
        $sql = $this->getSql();
        $params = $this->params;
        $statements = $this->splitStatements($sql, $params);
        if ($statements === false) {
            return parent::execute();
        }

        $result = null;
        foreach ($statements as $statement) {
            list($statementSql, $statementParams) = $statement;
            $this->setSql($statementSql)->bindValues($statementParams);
            $result = parent::execute();
        }
        $this->setSql($sql)->bindValues($params);
        return $result;
    }
public function execute ( ) { $ sql = $ this -> getSql ( ) ; $ params = $ this -> params ; $ statements = $ this -> splitStatements ( $ sql , $ params ) ; if ( $ statements === false ) { return parent :: execute ( ) ; } $ result = null ; foreach ( $ statements as $ statement ) { list ( $ statementSql , $ statementParams ) = $ statement ; $ this -> setSql ( $ statementSql ) -> bindValues ( $ statementParams ) ; $ result = parent :: execute ( ) ; } $ this -> setSql ( $ sql ) -> bindValues ( $ params ) ; return $ result ; }
{@inheritdoc}
{