‪TYPO3CMS  9.5
TYPO3\CMS\Core\Database\PdoHelper Class Reference

Static Public Member Functions

static importSql (\PDO $databaseHandle, $pdoDriver, $pathAndFilename)
 

Detailed Description

A helper class for handling PDO databases

Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0

Definition at line 22 of file PdoHelper.php.

Member Function Documentation

◆ importSql()

static TYPO3\CMS\Core\Database\PdoHelper::importSql ( \PDO  $databaseHandle,
  $pdoDriver,
  $pathAndFilename 
)
static

Pumps the SQL into the database. Use for DDL only.

Important: key definitions with length specifiers (needed for MySQL) must be given as "field"(xyz) - no space between double quote and parenthesis - so they can be removed automatically.

Parameters
\PDO$databaseHandle
string$pdoDriver
string$pathAndFilename
Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0

Definition at line 36 of file PdoHelper.php.