[jOOQ/jOOQ#15008] Cannot pass Table reference to row() constructor in
array or list
This commit is contained in:
parent
23ef80178f
commit
2a6aa8355e
@ -2074,6 +2074,10 @@ final class Tools {
|
||||
else if (value instanceof AbstractRow<?> r)
|
||||
return (Field<T>) r.rf();
|
||||
|
||||
// [#15008] Tables can be mixed with values in ROW constructors
|
||||
else if (value instanceof AbstractTable<?> t)
|
||||
return (Field<T>) t.tf();
|
||||
|
||||
// [#4771] Any other QueryPart type is not supported here
|
||||
else if (value instanceof QueryPart)
|
||||
throw fieldExpected(value);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user