Property | Type | Description | |
---|---|---|---|
$await | awaitCapable? | ||
$callback | callable | ||
$col | Collection's name | ||
$counter | |||
$destroyed | Is this cursor destroyed? | ||
$failure | Is this query failured? | ||
$finished | Is this cursor finished? | ||
$id | Cursor's ID | ||
$item | Current object | ||
$items | Array of objects | ||
$parseOplog | boolean | ||
$tailable | boolean |
Property | Type | Description | |
---|---|---|---|
$conn | Network connection | ||
$keep | |||
$pos |
Method | Description | |
---|---|---|
__construct ( string $id, string $col, |
Constructor | |
__destruct ( ) : void | Cursor's destructor. Sends a signal to the server | |
current ( ) : mixed | Current | |
destroy ( boolean $notify = false ) : boolean | Destroys the cursors | |
error ( ) : mixed | Error | |
free ( boolean $notify = false ) : boolean | Destroys the cursors | |
getConn ( ) : |
||
getMore ( integer $number ) : void | Asks for more objects | |
grab ( ) : array | Grab | |
isBusyConn ( ) : boolean | ||
isDead ( ) : boolean | isDead | |
isFinished ( ) : boolean | ||
keep ( boolean $bool = true ) : void | Keep | |
key ( ) : string | Key | |
next ( ) : void | Next | |
rewind ( ) : void | Rewind | |
toArray ( ) : array | To array | |
valid ( ) : boolean | Valid |
public __destruct ( ) : void | ||
return | void |