public function MigrateSourceMongoDB::getNextRow in Migrate 7.2
Implementation of MigrateSource::getNextRow().
Return value
object
File
- plugins/
sources/ mongodb.inc, line 79 - Define a MigrateSource for importing from MongoDB connections
Class
- MigrateSourceMongoDB
- Implementation of MigrateSource, to handle imports from MongoDB connections.
Code
public function getNextRow() {
$row = $this->cursor
->getNext();
if ($row) {
return (object) $row;
}
return NULL;
}