Fix
This commit is contained in:
parent
91763c8e25
commit
7272b99bd2
@ -6,8 +6,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// TableAndQuery returns the table name and the query already formatted as a string
|
// TableAndQuery returns the table name and the query already formatted as a string
|
||||||
func (s *DB) TableAndQuery() (string, string) {
|
func (scope *Scope) TableAndQuery() (string, string) {
|
||||||
scope := s.NewScope(s.Value)
|
|
||||||
scope.InstanceSet("skip_bindvar", true)
|
scope.InstanceSet("skip_bindvar", true)
|
||||||
scope.prepareQuerySQL()
|
scope.prepareQuerySQL()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user