From 43691c77d727584f8d5db908579279142b40708b Mon Sep 17 00:00:00 2001 From: hsfish Date: Wed, 19 Feb 2025 20:40:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4GenExistSQL=E4=B8=8D=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E7=9A=84tableName?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/statements/query.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/statements/query.go b/internal/statements/query.go index 03a40bb0..a669cc20 100644 --- a/internal/statements/query.go +++ b/internal/statements/query.go @@ -314,8 +314,6 @@ func (statement *Statement) GenExistSQL(bean ...interface{}) (string, []interfac return statement.Limit(1).GenGetSQL(b) } - tableName = statement.quote(tableName) - buf := builder.NewWriter() if statement.dialect.URI().DBType == schemas.MSSQL { if _, err := fmt.Fprintf(buf, "SELECT TOP 1 *"); err != nil {