Package org.apache.ibatis.annotations
Annotation Type Delete
-
@Documented @Retention(RUNTIME) @Target(METHOD) @Repeatable(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
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
databaseId
-