Relational Database Driver - Base Class.
private string $lastQueryString
public exec(string $sql): int
Parameter | Type | Description |
---|
$sql | string | |
public query(string $sql): Result
Parameter | Type | Description |
---|
$sql | string | |
public quote(mixed $string, int $type = '\PDO::PARAM_STR'): string
Parameter | Type | Description |
---|
$string | mixed | |
$type | int | |
public setTimezone(string $tz): bool
Parameter | Type | Description |
---|
$tz | string | |
public lastInsertId(): string
public errorCode(): string
public lastQueryString(): string
protected connect(string $dsn, ?string $username, ?string $password, ?array $driverOptions): bool
Parameter | Type | Description |
---|
$dsn | string | |
$username | string | |
$password | string | |
$driverOptions | array | |
protected mkdsn(array $config): string
Parameter | Type | Description |
---|
$config | array | |
Generated by Hazaar API Doc Generator