sqlite_valid

SQLiteResult::valid

SQLiteUnbuffered::valid

(PHP 5 < 5.4.0)

sqlite_valid -- SQLiteResult::valid -- SQLiteUnbuffered::validReturns whether more rows are available

설명

bool sqlite_valid ( resource $result )

객체 기반 형식 (method):

bool SQLiteResult::valid ( void )
bool SQLiteUnbuffered::valid ( void )

Finds whether more rows are available from the given result handle.

인수

result

The SQLite result resource. This parameter is not required when using the object-oriented method.

Note:

이 함수는 버퍼 없는 결과 핸들(unbuffered result handles)을 다룰 수 없습니다.

반환값

Returns TRUE if there are more rows available from the result handle, or FALSE otherwise.

참고

  • sqlite_num_rows() - Returns the number of rows in a buffered result set
  • sqlite_changes() - Returns the number of rows that were changed by the most recent SQL statement

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top