sqlite_seek

mIRC SQLite

sqlite_seek
Seek to a particular row.
Syntax
$sqlite_seek ( result, row_index [, seek_type ] )
/sqlite_seek result row_index [ seek_type ]
Parameters
result
The result identifier.
row_index
The row to seek to.
seek_type
The seek type. Optional, see remarks for more info.
Return Value
1 on success; Otherwise 0 if the row isn't seekable, or $null if there was an error.
Remarks
The optional seek_type parameter specifies the direction and offset of seek and can be one of the following: $SQLITE_BEG, $SQLITE_CUR or $SQLITE_END. $SQLITE_BEG is default.
$SQLITE_BEG seeks forward from the start of the result. $SQLITE_CUR seeks forward from the current position of the result. $SQLITE_END seeks backwards from the end of the result.