« SQLite3Stmt::reset
SQLite3Result::columnName »
Bejson.com
PHP Manual
SQLite3
SQLite3Result 类
SQLite3Result 类
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
简介
处理 SQLite 3 扩展返回结果集的类。
类摘要
class
SQLite3Result
{
/* 方法 */
public
columnName
(
int
$column
):
string
|
false
public
columnType
(
int
$column
):
int
|
false
public
fetchArray
(
int
$mode
=
SQLITE3_BOTH
):
array
|
false
public
finalize
():
bool
public
numColumns
():
int
public
reset
():
bool
}
目录
SQLite3Result::columnName
— Returns the name of the nth column
SQLite3Result::columnType
— Returns the type of the nth column
SQLite3Result::__construct
— Constructs an SQLite3Result
SQLite3Result::fetchArray
— Fetches a result row as an associative or numerically indexed array or both
SQLite3Result::finalize
— Closes the result set
SQLite3Result::numColumns
— Returns the number of columns in the result set
SQLite3Result::reset
— Resets the result set back to the first row