Insert

Indicates that a newly created entity will be inserted in the database. If the entity has one or more primary keys their values will be updated.

Examples

interface ExampleRepository : Repository!Example {

   @Insert
   void insert(Example entity);

}

Meta