略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: sqlite_valid

2024-12-22

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
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.sqlite-valid.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3