zendframework / zend-db

Db component from Zend Framework
BSD 3-Clause "New" or "Revised" License
101 stars 122 forks source link

Oracle stuff #376

Closed zydbkqf closed 4 years ago

zydbkqf commented 5 years ago

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')