[jOOQ/jOOQ#11107] Parse 3-argument Oracle INSTR() function
This commit is contained in:
parent
cfe0e4937e
commit
470d54272b
@ -8974,8 +8974,10 @@ final class ParserContext {
|
||||
Field<String> f1 = (Field) parseField(S);
|
||||
parse(',');
|
||||
Field<String> f2 = (Field) parseField(S);
|
||||
Field<Integer> f3 = parseIf(',') ? (Field) parseField(N) : null;
|
||||
parse(')');
|
||||
return DSL.position(f1, f2);
|
||||
|
||||
return f3 == null ? DSL.position(f1, f2) : DSL.position(f1, f2, f3);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user