Merge pull request #5 from Vivino/value_receiver_for_TableAndQuery

Value receiver for TableAndQuery
This commit is contained in:
Raul-Mircea Crivineanu 2020-01-24 13:56:09 +01:00 committed by GitHub
commit 61d4294a3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()