PHP 7.1.0 Release Candidate 4 Released


(PECL mongo >=1.5.0)

MongoCommandCursor::validChecks if the cursor is reading a valid result.


public bool MongoCommandCursor::valid ( void )


This function has no parameters.

Return Values

TRUE if the current result is not null, and FALSE otherwise.

See Also

add a note add a note

User Contributed Notes

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