GoLang MongoCursor::valid

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

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

PHP MongoCursor::valid

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


(PECL mongo >=0.9.0)

MongoCursor::validChecks if the cursor is reading a valid result


public bool MongoCursor::valid ( void )


This function has no parameters.

Return Values

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

See Also