database sqlsrv : add connection info "language" |
Hello everyone, my app work with several databases, mysql (windows), mariadb (linux) and mssql (windows).
I can connect to sql server database but I need to connect it with the connection info "Language"=>"English" to prevent to have different formats of date to manage in my request. The only solution I found is to modify the file vendor/codeigniter4/framework/system/Database/SQLSRV/Connection.php (method connect ) PHP Code: $connection = [ Is there a better way to connect with this extra parameter ? In advance, thank you.
Try extend system classess or replace init connection.
https://codeigniter.com/user_guide/exten...asses.html |
Welcome Guest, Not a member yet? Register Sign In |