From 62b7a14ec0c67323eaae68bb533bc301865be67d Mon Sep 17 00:00:00 2001 From: Adam Hasselbalch Hansen Date: Fri, 24 Jan 2020 13:51:49 +0100 Subject: [PATCH] Value receiver for TableAndQuery --- 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 d442ce4d..8e734f40 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) scope.prepareQuerySQL()