Package org.apache.ibatis.annotations
Annotation Type Delete
@Documented
@Retention(RUNTIME)
@Target(METHOD)
@Repeatable(Delete.List.class)
public @interface Delete
The annotation that specify an SQL for deleting record(s).
How to use:
public interface UserMapper { @Delete("DELETE FROM users WHERE id = #{id}") boolean deleteById(int id); }
- Author:
- Clinton Begin
-
Nested Class Summary
Nested Classes -
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
-
databaseId
-