Package com.valqueries.automapper
Interface ValqueriesUpsertUpdate<T>
- All Superinterfaces:
- ValqueriesUpdate<T>
- All Known Implementing Classes:
- ValqueriesUpsertUpdateImpl
- 
Method SummaryModifier and TypeMethodDescription<X> voidincrementByObjectValue(Function<T, X> field) Increment the field by the value in the object being upserted.<X> voidsetObjectValue(Function<T, X> field) Set the field to the value in the object being upserted.Methods inherited from interface com.valqueries.automapper.ValqueriesUpdateincrement, set
- 
Method Details- 
setObjectValueSet the field to the value in the object being upserted. This is what a usual upsert would do for all the fields.- Type Parameters:
- X- the type of the field
- Parameters:
- field- the field to set
 
- 
incrementByObjectValueIncrement the field by the value in the object being upserted. This is useful for counter fields, etc.- Type Parameters:
- X- the type of the field
- Parameters:
- field- the field to increment
 
 
-