4 Commits

Author SHA1 Message Date
Jamie Foster
74ff71ede5 Add support for sqlite3 hook
This is useful for adding backup functionality to SQLite as seen here:

https://github.com/mattn/go-sqlite3/blob/master/_example/hook/hook.go

In that sample, "sqlite3_with_hook_example" is the name of the driver to be registered. I used "sqlite3hook" in my fork as a generic name. Otherwise gorm will use SQLite in compatibility mode.
2014-07-15 20:44:09 +03:00
Jinzhu
29ac192090 Add Compatibility Mode 2014-07-02 17:55:21 +08:00
Jinzhu
66e6c9af9f Add method HasTable, HasColumn to dialect 2014-04-25 09:08:48 +08:00
Jinzhu
a46d149579 remove package dialect for easier contribution 2014-04-25 07:20:23 +08:00