MCPcopy
hub / github.com/jOOQ/jOOQ / patchDefault

Method patchDefault

jOOQ/src/main/java/org/jooq/impl/Default.java:92–97  ·  view source on GitHub ↗
(Field<?> d, Field<?> f)

Source from the content-addressed store, hash-verified

90 }
91
92 static final Field<?> patchDefault(Field<?> d, Field<?> f) {
93 if (d instanceof Default)
94 return orElse(f.getDataType().default_(), () -> DSL.inline(null, f));
95
96 return d;
97 }
98}

Callers 3

patchDefaultForInsertMethod · 0.95
patchDefaultForUpdateMethod · 0.95
insertSelectMethod · 0.80

Calls 4

inlineMethod · 0.95
orElseMethod · 0.80
default_Method · 0.65
getDataTypeMethod · 0.65

Tested by

no test coverage detected