public function MigrateSourceOracle::getNextRow in Migrate 6.2
Same name and namespace in other branches
- 7.2 plugins/sources/oracle.inc \MigrateSourceOracle::getNextRow()
Implementation of MigrateSource::getNextRow().
Returns the next row of the result set as an object, making sure NULLs are represented as PHP NULLs and that LOBs are returned directly without special handling.
File
- plugins/
sources/ oracle.inc, line 212 - Define a MigrateSource class for importing from Oracle databases.
Class
- MigrateSourceOracle
- Implementation of MigrateSource, to handle imports from remote Oracle servers.
Code
public function getNextRow() {
$row = oci_fetch_array($this->result, OCI_ASSOC | OCI_RETURN_NULLS | OCI_RETURN_LOBS);
if (!empty($row)) {
return (object) $row;
}
else {
return FALSE;
}
}