Interface QueryMapper.MapperUpdateNameCondition

All Known Subinterfaces:
QueryMapper.MapperUpdateNotCondition
Enclosing interface:
QueryMapper

public static interface QueryMapper.MapperUpdateNameCondition
Represents the predicate definition step of the fluent update API.

This step defines conditional expressions used to restrict which entities will be affected by an update operation. Each predicate applies to the previously specified field.

Predicate support and evaluation semantics depend on the capabilities of the underlying database. Unsupported predicates may result in an UnsupportedOperationException.

This step is mutable and not thread-safe.

@Inject
Template template;

template.update(Book.class)
    .set("published").to(true)
    .where("author").eq("Ada")
    .execute();
Since:
1.0.0