[jOOQ/jOOQ#9358] Add support for parsing the H2 SCHEMA() function

This commit is contained in:
Lukas Eder 2019-10-14 09:23:39 +02:00
parent b652c0974d
commit e01aeff6ec

View File

@ -5985,6 +5985,8 @@ final class ParserImpl implements Parser {
return field;
else if ((field = parseFieldReplaceIf(ctx)) != null)
return field;
else if (parseFunctionNameIf(ctx, "SCHEMA") && parseIf(ctx, '(') && parse(ctx, ')'))
return currentSchema();
if (N.is(type))
if ((field = parseFieldSecondIf(ctx)) != null)