sqlite_valid

SQLiteResult::valid

SQLiteUnbuffered::valid

(PHP 5 < 5.4.0)

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

说明

sqlite_valid ( resource $result ) : bool

面向对象风格 (method):

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

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:

此函数不能用于未缓冲的结果句柄。

返回值

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

相关文章
php gupnp 函数 check whether root device is availablephp gupnp 函数 set whether or not root device is availablephp maxdb 函数 returns whether thread safety is given or notphp msql 函数 returns number of affected rowsphp mysqlnd qc 函数 returns a list of available storage handlerphp mysqlnd qc 函数 returns information on the current handler the number of cache entries and cache entries if availablephp postgresql 函数 returns an array with client protocol and server version when available php sqlite 函数 execute a query against a given database and returns an arrayphp sqlite 函数 returns the number of rows that were changed by the most recent sql statementphp sqlite 函数 fetches all rows from a result set as an array of arraysphp sqlite 函数 returns the name of a particular fieldphp sqlite 函数 finds whether or not more rows are availablephp sqlite 函数 returns whether or not a previous row is availablephp sqlite 函数 returns the number of rows in a buffered result setphp sqlite 函数 executes a query against a given database and returns a result handlephp sqlite 函数 executes a query and returns either an array for one single column or the value of the first rowphp sqlite 函数 returns whether more rows are availablephp sqlsrv 函数 returns the number of rows modified by the last insert update or delete query executedphp sqlite3 returns the number of database rows that were changed or inserted or deleted by the most recent sql statementphp sqlite3stmt returns whether a statement is definitely read only
关注编程学问公众号