MongoCommandCursor::valid

(PECL mongo >=1.5.0)

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

Açıklama

public MongoCommandCursor::valid ( ) : bool

Değiştirgeler

Bu işlevin değiştirgesi yoktur.

Dönen Değerler

true if the current result is not null, and false otherwise.

Ayrıca Bakınız