From 4b7d45990e4d479359b1a05345084fb68f51c372 Mon Sep 17 00:00:00 2001 From: Raul-Mircea Date: Mon, 27 Jan 2020 15:08:34 +0100 Subject: [PATCH] Fix --- table_and_query.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/table_and_query.go b/table_and_query.go index b6214e11..832517e2 100644 --- a/table_and_query.go +++ b/table_and_query.go @@ -1,7 +1,6 @@ package gorm import ( - "fmt" "strings" ) @@ -12,10 +11,8 @@ func (scope *Scope) TableAndQuery() (string, string) { //t, q := scope.TableName(), qs[3].(string) if scope.SQL == "" { - fmt.Println("### HIT ###") scope.prepareQuerySQL() } - fmt.Println("#####", scope.SQL) t, q := scope.TableName(), scope.SQL if t == "" { qsplit := strings.Fields(strings.ToLower(q))