PHP Class Piwik\Updater\Migration\Db\BatchInsert

See also: Factory::batchInsert()
See also: Db\BatchInsert::tableInsertBatch()
Inheritance: extends Piwik\Updater\Migration
Show file Open project: piwik/piwik

Public Methods

Method Description
__construct ( string $table, array $columnNames, array $values, boolean $throwException, string $charset )
__toString ( )
doesThrowException ( ) : boolean
exec ( )
getCharset ( ) : string
getColumnNames ( )
getTable ( ) : string
getValues ( ) : array
shouldIgnoreError ( $exception )

Method Details

__construct() public method

public __construct ( string $table, array $columnNames, array $values, boolean $throwException, string $charset )
$table string
$columnNames array
$values array
$throwException boolean
$charset string

__toString() public method

public __toString ( )

doesThrowException() public method

public doesThrowException ( ) : boolean
return boolean

exec() public method

public exec ( )

getCharset() public method

public getCharset ( ) : string
return string

getColumnNames() public method

public getColumnNames ( )

getTable() public method

public getTable ( ) : string
return string

getValues() public method

public getValues ( ) : array
return array

shouldIgnoreError() public method

public shouldIgnoreError ( $exception )