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

多个@OrEquals优先级 #85

Open
yangxuanx opened this issue Nov 29, 2023 · 1 comment
Open

多个@OrEquals优先级 #85

yangxuanx opened this issue Nov 29, 2023 · 1 comment

Comments

@yangxuanx
Copy link

@orequals 注解拼接多个的情况下,怎么可以把多个or像SQL语句中括号内,优先查询?

SELECT * FROM table_name WHERE column1 = 'value1' AND (column2 = 'value2' OR column3 = 'value3');

@pengten
Copy link
Contributor

pengten commented Nov 29, 2023

You can implement an @EqualOrEqual annotation by referring to the LikeOrLikePredicateHandler and @LikeOrLike annotations.
Finally, you are welcome to contribute to this project.
可以参照LikeOrLikePredicateHandler@LikeOrLike注解实现一个@EqualOrEqual注解。
最后欢迎参与贡献该项目。

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

2 participants