forked from mirror/gorm
14 lines
237 B
Go
14 lines
237 B
Go
|
package gorm
|
||
|
|
||
|
func Query(scope *Scope) {
|
||
|
}
|
||
|
|
||
|
func AfterQuery(scope *Scope) {
|
||
|
scope.CallMethod("AfterFind")
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
DefaultCallback.Query().Register("query", Query)
|
||
|
DefaultCallback.Query().Register("after_query", AfterQuery)
|
||
|
}
|