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).

Internal

this implementation is not part of TYPO3's Public API.

Table of Contents

Properties

$_userDefinedFunctions  : array<string|int, mixed>

Methods

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

Properties

$_userDefinedFunctions

protected array<string|int, mixed> $_userDefinedFunctions = ['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<string|int, mixed> $params) : Connection
Parameters
$params : array<string|int, mixed>
Return values
Connection

getName()

{@inheritdoc}

public getName() : mixed
Deprecated

_constructPdoDsn()

Constructs the Sqlite PDO DSN.

protected _constructPdoDsn(array<string|int, mixed> $params) : string
Parameters
$params : array<string|int, mixed>
Return values
string

The DSN.


        
On this page

Search results