public sql ( string $sql, integer | int[] $errorCodesToIgnore = [] ) : |
||
$sql | string | The SQL query that should be executed. Make sure to prefix a table name via {@link Piwik\Commin::prefixTable()}. |
$errorCodesToIgnore | integer | int[] | Any given MySQL server error code will be ignored. For a list of all possible error codes have a look at {@link \Piwik\Updater\Migration\Db}. If no error should be ignored use an empty array or `false`. |
return |