Annotation 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