Skip to content

Commit

Permalink
use whole string for subquery instead of splitting it
Browse files Browse the repository at this point in the history
  • Loading branch information
bioodchao authored Oct 23, 2024
1 parent 1dba8da commit 7744e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/util/column_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7744e30

Please sign in to comment.