Package org.apache.ibatis.annotations
Annotation Type Delete
-
@Documented @Retention(RUNTIME) @Target(METHOD) 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
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String[]
value
Returns an SQL for deleting record(s).
-