Use a value receiver in TableAndQuery
This commit is contained in:
parent
f38071944f
commit
93734513ed
@ -5,7 +5,7 @@ import (
|
||||
)
|
||||
|
||||
// TableAndQuery returns the table name and the query already formatted as a string
|
||||
func (scope *Scope) TableAndQuery() (string, string) {
|
||||
func (scope Scope) TableAndQuery() (string, string) {
|
||||
scope.InstanceSet("skip_bindvar", true)
|
||||
scope.prepareQuerySQL()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user