sqlite_current
SQLiteResult->current
SQLiteUnbuffered->current
(No version information available, might be only in CVS)
SQLiteUnbuffered->current — Obtiene la fila actual del resultado en forma de matriz
Descripción
Método que sigue el estilo orientado a objetos:
sqlite_current() es idéntica a la función sqlite_fetch_array() salvo que no se avanza a la siguiente fila del resultado antes de devolver los datos. De esta forma, solamente devuelve los datos de la posición actual.
Lista de parámetros
- manejador_resultado
-
El identificador del resultado de SQLite. Este parámetro no es obligatorio cuando se emplea el método orientado a objetos.
- tipo_resultado
-
The optional result_type parameter accepts a constant and determines how the returned array will be indexed. Using SQLITE_ASSOC will return only associative indices (named fields) while SQLITE_NUM will return only numerical indices (ordinal field numbers). SQLITE_BOTH will return both associative and numerical indices. SQLITE_BOTH is the default for this function.
- decodificar_binario
-
When the decode_binary parameter is set to TRUE (the default), PHP will decode the binary encoding it applied to the data if it was encoded using the sqlite_escape_string(). You should normally leave this value at its default, unless you are interoperating with databases created by other sqlite capable applications.
Valores retornados
Devuelve una matriz que contiene los valores de la fila actual del resultado o FALSE si la posición actual se encuentra más allá de la última fila.
The column names returned by SQLITE_ASSOC and SQLITE_BOTH will be case-folded according to the value of the sqlite.assoc_case configuration option.