GoLang MongoCommandCursor::valid

request it (36)
GoLang replacement for PHP's MongoCommandCursor::valid [edit | history]

Do you know a GoLang replacement for PHP's MongoCommandCursor::valid? Write it!

PHP MongoCommandCursor::valid

PHP original manual for MongoCommandCursor::valid [ show | php.net ]


(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