sqlite_key
SQLiteResult::key
(PHP 5 >= 5.1.0)
sqlite_key -- SQLiteResult::key — Returns the current row index
Descrição
int sqlite_key
( resource $result
)
Estilo orientado a objetos (method):
int SQLiteResult::key
( void
)
sqlite_key() returns the current row index of the buffered result set result.
Parâmetros
- result
-
The SQLite result resource. This parameter is not required when using the object-oriented method.
Nota:
Esta função não pode ser utilizada com manipuladores de resultados sem buffer.
Valor Retornado
Returns the current row index of the buffered result set result.
Histórico
| Versão | Descrição |
|---|---|
| 5.0.4 | Prior to PHP 5.0.4, sqlite_key() was only able to be called as a method on a SQLiteResult object, not procedurally. |
Veja Também
- sqlite_next() - Move para a próxima linha.
- sqlite_current() - Retorna a linha atual do resultado como uma matriz.
- sqlite_rewind() - Vai para a primeira linha.
There are no user contributed notes for this page.
