TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
PdoHelper Class Reference

Static Public Member Functions

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

Detailed Description

A helper class for handling PDO databases Backport of FLOW3 class PdoHelper, last synced version: 3528

Definition at line 21 of file PdoHelper.php.

Member Function Documentation

static 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
Returns
void

Definition at line 35 of file PdoHelper.php.

Referenced by PdoBackend\createCacheTables().