Driver

class \TYPO3\CMS\Core\Database\Driver\PDOSqlite\Driver

Extends
AbstractSQLiteDriver

This is a full "clone" of the class of package doctrine/dbal. Scope is to use the PDOConnection of TYPO3.

All private methods have to be checked on every release of doctrine/dbal.

Table of Contents

Properties

$_userDefinedFunctions  : array

Methods

connect()  : mixed
{@inheritdoc}
getName()  : mixed
{@inheritdoc}
_constructPdoDsn()  : string
Constructs the Sqlite PDO DSN.

Properties

$_userDefinedFunctions

protected array $_userDefinedFunctions = ['sqrt' => ['callback' => [\Doctrine\DBAL\Platforms\SqlitePl…
Show the full value['sqrt' => ['callback' => [\Doctrine\DBAL\Platforms\SqlitePlatform::class, 'udfSqrt'], 'numArgs' => 1], 'mod' => ['callback' => [\Doctrine\DBAL\Platforms\SqlitePlatform::class, 'udfMod'], 'numArgs' => 2], 'locate' => ['callback' => [\Doctrine\DBAL\Platforms\SqlitePlatform::class, 'udfLocate'], 'numArgs' => -1]]

Methods

connect()

{@inheritdoc}

public connect(array $params[, mixed $username = null ][, mixed $password = null ][, array $driverOptions = [] ]) : mixed

Parameters

$params : array
$username : mixed = null
$password : mixed = null
$driverOptions : array = []

getName()

{@inheritdoc}

public getName() : mixed

Deprecated

_constructPdoDsn()

Constructs the Sqlite PDO DSN.

protected _constructPdoDsn(array $params) : string

Parameters

$params : array

Return values

string —

The DSN.

On this page