2 Commits

Author SHA1 Message Date
Russ Egan
c3f3558f0e 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 16:35:19 -04:00
Jinzhu
15583e6017 rename some files 2014-01-28 16:29:42 +08:00