The Pdo\Firebird class
(PHP 8 >= 8.4.0)
简介
A PDO subclass representing a connection using the Firebird PDO driver.
类摘要
/* 继承的常量 */
/* 常量 */
/* 方法 */
/* 继承的方法 */
public PDO::__construct(
string
?string
#[\SensitiveParameter] ?string
?array
)
string
$dsn
,?string
$username
= null
,#[\SensitiveParameter] ?string
$password
= null
,?array
$options
= null
)
public static PDO::connect(
string
?string
#[\SensitiveParameter] ?string
?array
): static
string
$dsn
,?string
$username
= null
,#[\SensitiveParameter] ?string
$password
= null
,?array
$options
= null
): static
public PDO::query(string
$query
, ?int $fetchMode
= PDO::FETCH_COLUMN, int $colno
): PDOStatement|falsepublic PDO::query(
string
?int
string
array
): PDOStatement|false
string
$query
,?int
$fetchMode
= PDO::FETCH_CLASS,string
$classname
,array
$constructorArgs
): PDOStatement|false
public PDO::query(string
}$query
, ?int $fetchMode
= PDO::FETCH_INTO, object $object
): PDOStatement|false预定义常量
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
, orPdo\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
andREAD WRITE
. By default, it istrue
indicatingREAD WRITE
.
目录
- Pdo\Firebird::getApiVersion — Get the API version
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。