Annotation Interface Insert


The annotation that specify an SQL for inserting record(s).

How to use:

 public interface UserMapper {
   @Insert("INSERT INTO users (id, name) VALUES(#{id}, #{name})")
   void insert(User user);
 }
 
Author:
Clinton Begin