(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0)
sqlite_field_name -- SQLiteResult::fieldName -- SQLiteUnbuffered::fieldName — Returns the name of a particular field
$result
, int $field_index
)面向对象风格 (method):
$field_index
)$field_index
)
Given the ordinal column number, field_index
,
sqlite_field_name() returns the name of that field in
the result set result
.
result
The SQLite result resource. This parameter is not required when using the object-oriented method.
field_index
The ordinal column number in the result set.
Returns the name of a field in an SQLite result set, given the ordinal
column number; FALSE
on error.
由
SQLITE_ASSOC
与 SQLITE_BOTH
返回的列名会依照 sqlite.assoc_case
配置选项的值决定大小写。