MongoCursorInterface
interface MongoCursorInterface implements Iterator (View source)
Methods
batchSize(int $batchSize)
No description
bool
dead()
No description
array
info()
No description
array
getReadPreference()
No description
setReadPreference(string $read_preference, array $tags = null)
No description
timeout(int $ms)
No description
Details
mixed
current()
Return the current element
void
next()
Move forward to next element
mixed
key()
Return the key of the current element
bool
valid()
Checks if current position is valid
void
rewind()
Rewind the Iterator to the first element
MongoCursorInterface
batchSize(int $batchSize)
No description
bool
dead()
No description
array
info()
No description
array
getReadPreference()
No description
MongoCursorInterface
setReadPreference(string $read_preference, array $tags = null)
No description
MongoCursorInterface
timeout(int $ms)
No description