Driver

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

Extends
AbstractSQLiteDriver

The main change in favor of Doctrine's implementation is to use our custom DriverConnection (which in turn creates a custom Result object).

Table of Contents

Properties

$_userDefinedFunctions  : array

Methods

connect()  : Connection
{@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) : Connection

Parameters

$params : array

Return values

Connection

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