Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 处理自关联查询时,对Table:alias的写法sql表名拼写异常的问题 #750

Merged
merged 2 commits into from
Aug 11, 2024

Conversation

zxcwindy
Copy link
Contributor

@zxcwindy zxcwindy commented Aug 7, 2024

针对以下查询

{
  "[]":{
    "join":"&/Table:b/pid@",
    "Table:a":{
      "colId":"297e77a2623ce59401623ce740d90000",
      "@column":"colId,createTime"
    },
    "Table:b":{
      "@column":"colId,colCode,colName,pid",
      "pid@":"/Table:a/colId"
    }
  }
}

解决拼接的sql中表名为 "Table:a",导致sql查询异常的问题

@TommyLemon TommyLemon merged commit 67bda09 into Tencent:master Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants