[jOOQ/jOOQ#9925] Add parser support for IS [ NOT ] DOCUMENT

This commit is contained in:
Lukas Eder 2020-03-20 11:38:15 +01:00
parent a6a04e5c84
commit dd54a05d17

View File

@ -4790,6 +4790,10 @@ final class ParserImpl implements Parser {
return not
? ((Field) left).isNotJson()
: ((Field) left).isJson();
else if (left instanceof Field && parseKeywordIf(ctx, "DOCUMENT"))
return not
? ((Field) left).isNotDocument()
: ((Field) left).isDocument();
parseKeyword(ctx, "DISTINCT FROM");
if (left instanceof Field) {