This commit is contained in:
Raul-Mircea 2020-01-27 16:13:23 +01:00
parent 4b7d45990e
commit d0da812b63

View File

@ -5,7 +5,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 (scope *Scope) TableAndQuery() (string, string) { func (scope Scope) TableAndQuery() (string, string) {
scope.InstanceSet("skip_bindvar", true) scope.InstanceSet("skip_bindvar", true)
//qs := LogFormatter("sql", "q", time.Duration(1), scope.SQL, scope.SQLVars, int64(1)) //qs := LogFormatter("sql", "q", time.Duration(1), scope.SQL, scope.SQLVars, int64(1))
//t, q := scope.TableName(), qs[3].(string) //t, q := scope.TableName(), qs[3].(string)