class Connection extends PDOConnection (View source)

Methods

__construct(string $dsn, string|null $user = null, string|null $password = null, array $options = null)

No description

string
quote($value, integer $type = \PDO::PARAM_STR)

Quotes a string for use in a query.

Details

__construct(string $dsn, string|null $user = null, string|null $password = null, array $options = null)

Parameters

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

string quote($value, integer $type = \PDO::PARAM_STR)

Quotes a string for use in a query.

Parameters

$value
integer $type

Return Value

string