mirror of https://github.com/go-gorm/gorm.git
Merge branch 'master' into v1.0_dev
This commit is contained in:
commit
94fb0dd1d4
|
@ -9,8 +9,8 @@ import (
|
|||
// Define callbacks for querying
|
||||
func init() {
|
||||
defaultCallback.Query().Register("gorm:query", queryCallback)
|
||||
defaultCallback.Query().Register("gorm:after_query", afterQueryCallback)
|
||||
defaultCallback.Query().Register("gorm:preload", preloadCallback)
|
||||
defaultCallback.Query().Register("gorm:after_query", afterQueryCallback)
|
||||
}
|
||||
|
||||
// queryCallback used to query data from database
|
||||
|
|
Loading…
Reference in New Issue