Before there was lots of if statements to determine which database connection to use. Now it is changed to use class functions which makes it easier to add more database type support. Also added language to error file.
Proposed solution/change
Created custom connection classes with the same function names but different content.
When connecting to the database dynamically figure out the class which extends Illuminate\Database\Connection and call the different functions. See commits.
Issue or feature explanation
Before there was lots of if statements to determine which database connection to use. Now it is changed to use class functions which makes it easier to add more database type support. Also added language to error file.
Proposed solution/change
Illuminate\Database\Connection
and call the different functions. See commits.