public static function executeFile($file, ConnectionInterface $connection)
    {
        return self::executeStatements(self::parseFile($file), $connection);
    }
public static function executeFile($file, ConnectionInterface $connection)
    {
        return self::executeStatements(self::parseFile($file), $connection);
    }
public static function executeFile ( $ file , ConnectionInterface $ connection ) { return self :: executeStatements ( self :: parseFile ( $ file ) , $ connection ) ; }
Execute a list of DDL statements based on the path to the SQL file
Does not use transactions since they are not supported in DDL statements

@param string              $file       the path to the SQL file
@param ConnectionInterface $connection a connection object

@return integer the number of executed statements
Execute a list of DDL statements based on the path to the SQL file Does not use transactions since they are not supported in DDL statements