[jOOQ/jOOQ#14660] Work around Snowflake's INSERT .. VALUES limitation of not being able to reference expressions
This commit is contained in:
parent
22a77ea842
commit
0e9b6bfd91
@ -357,6 +357,7 @@ final class FieldMapsForInsert extends AbstractQueryPart implements UNotYetImple
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
default:
|
||||
|
||||
@ -3799,6 +3799,11 @@ final class Tools {
|
||||
return field instanceof Param;
|
||||
}
|
||||
|
||||
static final boolean isParamOrCastParam(Field<?> field) {
|
||||
return field instanceof Param
|
||||
|| field instanceof Cast && isParamOrCastParam(((Cast<?>) field).$field());
|
||||
}
|
||||
|
||||
static final boolean isVal(Field<?> field) {
|
||||
return field instanceof Val
|
||||
|| field instanceof ConvertedVal && ((ConvertedVal<?>) field).delegate instanceof Val;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user