From 7744e30493b09512073ec57ad776011b689efc9c Mon Sep 17 00:00:00 2001 From: bioodchao Date: Wed, 23 Oct 2024 10:23:52 +0800 Subject: [PATCH] use whole string for subquery instead of splitting it --- internal/util/column_map.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/util/column_map.go b/internal/util/column_map.go index 4044260..79e2ca4 100644 --- a/internal/util/column_map.go +++ b/internal/util/column_map.go @@ -130,7 +130,7 @@ func getSubqueryKey(subqueryTag tag.Options) string { if subqueryTag.IsEmpty() { return "" } - return subqueryTag.Values()[0] + return string(subqueryTag) } func shouldIgnoreField(dbTag tag.Options) bool {