public function __construct(Connection $conn) { parent::__construct($conn); $dsn = $conn->getDSN(); if (isset($dsn['schema'])) { $this->schema = $dsn['schema']; } else { // For Changing DB/Schema in Meta Data Interface $this->schema = $dsn['username']; } $this->schema = strtoupper($this->schema); }
public function __construct(Connection $conn) { parent::__construct($conn); $dsn = $conn->getDSN(); // For Changing DB/Schema in Meta Data Interface $this->schema = $dsn['database']; // For Oracle Type DBs if (!$this->schema) { $this->schema = $dsn['username']; } $this->schema = strtoupper($this->schema); }