Home > PHP > Function > SQLite > SQLiteResult->seek()

SQLiteResult->seek()

SQLiteResult->seek - Seek to a particular row number of a buffered result set

Syntax

bool SQLiteResult->seek (resource $result, int $rownum, int $rownum, resource $result, int $rownum, int $rownum)

Arguments

  • result - The SQLite result resource. This parameter is not required when using the object-oriented method. Note: This function cannot be used with unbuffered result handles.
  • rownum - The ordinal row number to seek to. The row number is zero-based (0 is the first row). Note: This function cannot be used with unbuffered result handles.
  • rownum
  • result - The SQLite result resource. This parameter is not required when using the object-oriented method. Note: This function cannot be used with unbuffered result handles.
  • rownum - The ordinal row number to seek to. The row number is zero-based (0 is the first row). Note: This function cannot be used with unbuffered result handles.
  • rownum

Description

Object oriented style (method):

Version

PHP 5, PECL sqlite >= 1.0.0

Return value

Returns FALSE if the row does not exist, TRUE otherwise.