MCPcopy Create free account
hub / github.com/jOOQ/jOOQ / addValue

Method addValue

jOOQ/src/main/java/org/jooq/impl/TableRecordImpl.java:370–375  ·  view source on GitHub ↗

Extracted method to ensure generic type safety.

(StoreQuery<?> store, Field<T> field, Object value, boolean forUpdate)

Source from the content-addressed store, hash-verified

368 * Extracted method to ensure generic type safety.
369 */
370 final <T> void addValue(StoreQuery<?> store, Field<T> field, Object value, boolean forUpdate) {
371 store.addValue(field, Tools.field(value, field));
372
373 if (forUpdate)
374 ((InsertQuery<?>) store).addValueForUpdate(field, DSL.excluded(field));
375 }
376
377 /**
378 * Extracted method to ensure generic type safety.

Callers 3

addTouchedValuesMethod · 0.95
addRecordTimestampMethod · 0.95
addRecordVersionMethod · 0.95

Calls 5

fieldMethod · 0.95
excludedMethod · 0.95
addValueMethod · 0.65
addValueForUpdateMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected