-
Notifications
You must be signed in to change notification settings - Fork 212
How can set/where Bitwise Operators #213
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
Comments
Have you found a solution? I encountered the same problem. |
You should be able to code your own functions for bitwise operators. You can use the included functions as examples: https://github.com/mybatis/mybatis-dynamic-sql/tree/master/src/main/java/org/mybatis/dynamic/sql/select/function |
Why not directly support these common operations? Or a simple construction method for these common operations. |
public SqlColumn bitEquleTo(SqlColumn column, int bit){ demo: |
I want
update table set tag = tag | 2 where tag & 2 = 2
The text was updated successfully, but these errors were encountered: