CakeFest 2024: The Official CakePHP Conference

mysqli::more_results

mysqli_more_results

(PHP 5, PHP 7, PHP 8)

mysqli::more_results -- mysqli_more_results检查批量查询中是否还有查询结果

说明

面向对象风格

public mysqli::more_results(): bool

过程化风格

mysqli_more_results(mysqli $mysql): bool

检查上一次调用 mysqli_multi_query() 函数之后,是否还有更多的查询结果集。

参数

mysql

仅以过程化样式:由 mysqli_connect()mysqli_init() 返回的 mysqli 对象。

返回值

如果上一次调用 mysqli_multi_query() 函数之后, 还有更多的结果集(包含错误)可以读取,返回 true,否则返回 false

示例

参见 mysqli_multi_query()

参见

add a note

User Contributed Notes

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