MongoDB\Driver\Cursor::valid

(mongodb >=1.9.0)

MongoDB\Driver\Cursor::valid — Checks if the current position in the cursor is valid

说明

public MongoDB\Driver\Cursor::valid ( ) : bool

参数

此函数没有参数。

返回值

true if the current cursor position is valid, false otherwise.

参见

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 由 站长在线 整理 版权归PHP文档组所有