The Pdo\Firebird class
(PHP 8 >= 8.4.0)
Introduction
A PDO subclass representing a connection using the Firebird PDO driver.
Class synopsis
string
$dsn,?string
$username = null,#[\SensitiveParameter] ?string
$password = null,?array
$options = null)
string
$dsn,?string
$username = null,#[\SensitiveParameter] ?string
$password = null,?array
$options = null): static
$query, ?int $fetchMode = PDO::FETCH_COLUMN, int $colno): PDOStatement|falsestring
$query,?int
$fetchMode = PDO::FETCH_CLASS,string
$classname,array
$constructorArgs): PDOStatement|false
$query, ?int $fetchMode = PDO::FETCH_INTO, object $object): PDOStatement|falsePredefined Constants
Pdo\Firebird::ATTR_DATE_FORMAT
Sets the date format.
Pdo\Firebird::ATTR_TIME_FORMAT
Sets the time format.
Pdo\Firebird::ATTR_TIMESTAMP_FORMAT
Sets the timestamp format.
Pdo\Firebird::TRANSACTION_ISOLATION_LEVEL
Attribute to sets the transaction isolation level.
This can be one of Pdo\Firebird::READ_COMMITTED,
Pdo\Firebird::REPEATABLE_READ,
or Pdo\Firebird::SERIALIZABLE.
Pdo\Firebird::READ_COMMITTED
Flag denoting the ANSI transaction isolation level is read committed. This is the default behavior.
Pdo\Firebird::REPEATABLE_READ
Flag denoting the ANSI transaction isolation level is repeatable read. This corresponds to Firebird's "snapshot" isolation level.
Pdo\Firebird::SERIALIZABLE
Flag denoting the ANSI transaction isolation level is serializable. This corresponds to Firebird's "snapshot table stability" isolation level.
Pdo\Firebird::WRITABLE_TRANSACTION
Boolean attribute used to toggle the transaction access mode between
READ ONLY and READ WRITE.
By default, it is true indicating READ WRITE.
Table of Contents
- Pdo\Firebird::getApiVersion — Get the API version
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
