kafoso / doctrine-firebird-driver

Firebird driver for the Doctrine DBAL/ORM
MIT License
14 stars 16 forks source link

Dialect parameter #6

Closed mrysz closed 5 years ago

mrysz commented 5 years ago

In ibase_connect function, 6th parameter is for dialect select.

https://github.com/kafoso/doctrine-firebird-driver/blob/6457b43dc4107531a7c3f450c92809d8fb82a070/src/Driver/FirebirdInterbase/Connection.php#L423

By default it's 0 (autoselect), but if i want to force this value to be 3, I can't do that.

Mayby you can add in config something like this?

options:
    dialect: 3
kafoso commented 5 years ago

That's an oversight. I'll have a look at it.

kafoso commented 5 years ago

Fixed (in 389afcf62167499e74c22c8e85ad599cffed8e2c). Dialect is now applied in the constructor.

Applied to versions: