MongoDB\Driver\Cursor::valid

(mongodb >=1.9.0)

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

說明

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

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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

參見