I am sorry for the larger PR, I'll trim these down in the future!
The main purpose of this PR is to prevent the issue of who owns the connection instances. Removing it from each of the structs allows the user of the structs to own the connection object. This will prevent borrowing errors.
Remove conn from structs:
[x] MySQL
[x] SQLite
[x] Oracle
[x] MSSQL
Additionally, many of the tests would fail because of too many connections, this also will help prevent that error since you can reuse connections easier.
I am sorry for the larger PR, I'll trim these down in the future!
The main purpose of this PR is to prevent the issue of who owns the connection instances. Removing it from each of the structs allows the user of the structs to own the connection object. This will prevent borrowing errors.
Remove conn from structs:
Additionally, many of the tests would fail because of too many connections, this also will help prevent that error since you can reuse connections easier.