abstract class Driver implements Driver

Base PDO database driver.

Methods

__construct(string $dsn, string|null $username = null, string|null $password = null, array $options = [])

No description

connect()

Establishes a connection to the database.

static array
exceptionArgs(PDOException $e, SqlLiteral|null $query = null)

No description

Details

at line 23
__construct(string $dsn, string|null $username = null, string|null $password = null, array $options = [])

No description

Parameters

string $dsn
string|null $username
string|null $password
array $options

at line 33
Connection connect()

Establishes a connection to the database.

Return Value

Connection

at line 44
static array exceptionArgs(PDOException $e, SqlLiteral|null $query = null)

No description

Parameters

PDOException $e
SqlLiteral|null $query

Return Value

array