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

Add Field.compare(Comparator, Select) and Field.compare(Comparator, QuantifiedSelect) to allow for more dynamic SQL #2434

Closed
lukaseder opened this issue May 3, 2013 · 0 comments

Comments

@lukaseder
Copy link
Member

Similar to #1842, there should be a dynamic way to compare fields with subselects and quantified subselects. In order for this to be possible, the internal, package-private org.jooq.impl.SubqueryOperator type should be merged into the public org.jooq.Comparator type, adding new comparators (IN, NOT_IN) to the latter.

Some additional flags should be added to Comparator, in order to distinguish which comparator can be used:

  • for "regular" comparison predicates
  • for "subselect" comparison predicates
  • for "quantified" comparison predicates
lukaseder added a commit that referenced this issue May 10, 2013
Comparator. Added a couple of flags indicating whether a Comparator can
be used with subselects / quantifiers
lukaseder added a commit that referenced this issue May 10, 2013
Field.compare(Comparator, QuantifiedSelect) to allow for more dynamic
SQL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant