Interface QueryMapper.MapperDeleteFrom
- All Superinterfaces:
-
QueryMapper.MapperDeleteQueryBuild
- Enclosing interface:
-
QueryMapper
Represents the first step in the delete query fluent API.
@Inject
Template template;
template.delete(Book.class)
.where("author").eq("Ada")
.execute();
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionStarts a new delete condition by specifying a column name.Methods inherited from interface QueryMapper.MapperDeleteQueryBuild
execute
-
Method Details
-
where
Starts a new delete condition by specifying a column name.template.delete(Book.class) .where("author").eq("Ada") .execute();- Parameters:
name- the column name- Returns:
-
a new
QueryMapper.MapperDeleteNameCondition - Throws:
-
NullPointerException- when name is null
-