MongoCursor::valid

(PECL mongo >=0.9.0)

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

˵��

public MongoCursor::valid ( void ) : bool

����

�˺���û�в�����

����ֵ

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

�μ�