Update

Indicates that an existing entity will be updated. The updated fields can be specified with the Fields attribute; if the attributes is not present all fields except the primary keys will be updated. If the entity does not have any primary key the Where attribute must also be present.

Examples

interface ExampleRepository : Repository!Example {

   @Update
   void update(Example entity);

}

Meta