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<string|int, mixed>
Methods
- connect() : mixed
- {@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[, mixed $username = null ][, mixed $password = null ][, array<string|int, mixed> $driverOptions = [] ]) : mixed
Parameters
- $params : array<string|int, mixed>
- $username : mixed = null
- $password : mixed = null
- $driverOptions : array<string|int, mixed> = []
getName()
{@inheritdoc}
public
getName() : mixed
_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.