From d0da812b63d5c317119a706767ba7c8581e3e468 Mon Sep 17 00:00:00 2001 From: Raul-Mircea Date: Mon, 27 Jan 2020 16:13:23 +0100 Subject: [PATCH] Fix --- table_and_query.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table_and_query.go b/table_and_query.go index 832517e2..955a25e1 100644 --- a/table_and_query.go +++ b/table_and_query.go @@ -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) //qs := LogFormatter("sql", "q", time.Duration(1), scope.SQL, scope.SQLVars, int64(1)) //t, q := scope.TableName(), qs[3].(string)