zendframework/zend-db

Oracle stuff

Closed this issue · 0 comments

I wonder if I did something wrong.

I cannot get constraints with OracleMetadata. Maybe the following code is missing in loadConstraintData method.

$this->data['constraints'][$schema][$table] = $constraints;

And the method \Zend\Db\Adapter\Platform\Oracle::setDriver.
The following code may be "$driver instanceof \PDO":

$driver instanceof PDO && $driver->getAttribute(PDO::ATTR_DRIVER_NAME) == 'oci')