MongoCursor::hasNext

(PECL mongo >=0.9.0)

MongoCursor::hasNextChecks if there are any more elements in this cursor

说锟斤拷

public MongoCursor::hasNext ( void ) : bool

锟斤拷锟斤拷

锟剿猴拷锟斤拷没锟叫诧拷锟斤拷锟斤拷

锟斤拷锟斤拷值

Returns if there is another element.

锟斤拷锟斤拷锟届常

Throws MongoConnectionException if it cannot reach the database and MongoCursorTimeoutException if the timeout is exceeded.