[jOOQ/jOOQ#11631] Boolean field expected when parsing NOT(?)

This commit is contained in:
Lukas Eder 2021-03-12 15:02:44 +01:00
parent 69202a227a
commit 4ff9c51178

View File

@ -6786,7 +6786,8 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
return condition((Field) part);
// [#7266] Support parsing column references as predicates
else if (part instanceof TableFieldImpl)
// [#11631] Or bind values too
else if (part instanceof TableFieldImpl || part instanceof Val)
return condition((Field) part);
else
throw expected("Boolean field");