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

Java 版 @combine 已支持条件任意组合 #13

Open
TommyLemon opened this issue Apr 12, 2022 · 1 comment
Open

Java 版 @combine 已支持条件任意组合 #13

TommyLemon opened this issue Apr 12, 2022 · 1 comment

Comments

@TommyLemon
Copy link
Contributor

https://github.com/Tencent/APIJSON/releases/tag/5.0.0
image

解析算法参考 AbstractSQLConfig.parseCombineExpression
https://github.com/Tencent/APIJSON/blob/master/APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java#L2537-L2808

@TommyLemon
Copy link
Contributor Author

TommyLemon commented Apr 12, 2022

不过据我观察(Java 版用户)这个功能其实不急,一般多字段条件组合除了默认的 AND,
再支持 OR (5.0+ 的 "@combine":"a | b" 或之前的 "@combine":"a,b")就能应对 C 端大部分场景了(多字段搜索)。

反倒是 JOIN 和子查询的需求会更迫切。

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

No branches or pull requests

1 participant