Skip to content

Add Ability to Easily Use Non-Standard Database Operators #220

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

Merged
merged 4 commits into from
Jul 25, 2020

Conversation

jeffgbutler
Copy link
Member

Many databases support non-standard operators. For example, MySQL supports several bitwise operators. This PR adds a new function applyOperator that makes it easy to use these operators without having to write custom code for every possibility.

In addition, this PR includes a significant refactoring of all the supplied functions. This should make it much easier to extend the library with custom functions in the future.

Resolves #213

With the refactoring of the functions, we now allow constants to appear
anywhere in a column list. Previously they could not appear as the first
column.
@jeffgbutler jeffgbutler added this to the 1.1.5 milestone Jul 24, 2020
@coveralls
Copy link

coveralls commented Jul 24, 2020

Coverage Status

Coverage remained the same at 100.0% when pulling 13e5bb6 on jeffgbutler:gh_213 into 8ad566f on mybatis:master.

@jeffgbutler jeffgbutler merged commit 9ac3446 into mybatis:master Jul 25, 2020
@jeffgbutler jeffgbutler deleted the gh_213 branch July 25, 2020 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How can set/where Bitwise Operators
2 participants