The Pdo\Sqlite class
(PHP 8 >= 8.4.0)
简介
A PDO subclass representing a connection using the SQLite PDO driver.
This driver supports a dedicated SQL query parser for the SQLite dialect. It can handle the following:
- Single, double-quoted, and backtick literals, with doubling as escaping mechanism.
- Square brackets quoting for identifiers.
- Two-dashes and C-style comments (non-nested).
类摘要
/* 继承的常量 */
/* 常量 */
/* 方法 */
public createFunction(
string
callable
int
int
): bool
string
$function_name
,callable
$callback
,int
$num_args
= -1,int
$flags
= 0): bool
/* 继承的方法 */
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\Sqlite::createAggregate — Registers an aggregating user-defined function for use in SQL statements
- Pdo\Sqlite::createCollation — Registers a user-defined function for use as a collating function in SQL statements
- Pdo\Sqlite::createFunction — Registers a user-defined function for use in SQL statements
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。