gorm/dialects
Russ Egan 45f1a95051 Replace all use of *sql.DB with sqlCommon
Exporting sqlCommon as SQLCommon.

This allows passing alternate implementations of the database connection, or wrapping the connection with middleware.  This change didn't change any usages of the database variables.  All usages were already only using the functions defined in SQLCommon.

This does cause a breaking change in Dialect, since *sql.DB was referenced in the interface.
2017-03-14 17:02:14 -04:00
..
mssql Replace all use of *sql.DB with sqlCommon 2017-03-14 17:02:14 -04:00
mysql Add dialects for supported databases for easier to use 2016-03-05 18:54:59 +08:00
postgres Refactor 2016-03-08 22:29:58 +08:00
sqlite Add dialects for supported databases for easier to use 2016-03-05 18:54:59 +08:00