sqlite_field_name

SQLiteResult::fieldName

SQLiteUnbuffered::fieldName

(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0)

sqlite_field_name -- SQLiteResult::fieldName -- SQLiteUnbuffered::fieldNameReturns the name of a particular field

Descrierea

sqlite_field_name ( resource $result , int $field_index ) : string

Stil obiect-orientat (method):

SQLiteResult::fieldName ( int $field_index ) : string
SQLiteUnbuffered::fieldName ( int $field_index ) : string

Given the ordinal column number, field_index, sqlite_field_name() returns the name of that field in the result set result.

Parametri

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.

Valorile întoarse

Returns the name of a field in an SQLite result set, given the ordinal column number; FALSE on error.

În denumirile coloanelor întoarse de SQLITE_ASSOC și SQLITE_BOTH vor fi utilizate litere majuscule/minuscule în corespundere cu valoarea opțiunii de configurare sqlite.assoc_case.