Interface QueryMapper.MapperDeleteWhere

All Superinterfaces:
QueryMapper.MapperDeleteQueryBuild
Enclosing interface:
QueryMapper

public static interface QueryMapper.MapperDeleteWhere extends QueryMapper.MapperDeleteQueryBuild
Represents a step where it is possible to compose delete conditions using logical conjunctions or disjunctions, or execute the built delete query.

This step is reached after a delete condition has been defined and allows combining additional conditions using and(...) or or(...), or finalizing the operation by executing the query.

@Inject
Template template;

template.delete(Book.class)
    .where("author").eq("Ada")
    .and("publishedYear").gte(2020)
    .execute();
The returned instance is mutable and not thread-safe. Support for logical operators depends on the capabilities of the underlying NoSQL database.
Since:
1.0.0