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.
interface ExampleRepository : Repository!Example { @Insert void insert(Example entity); }
See Implementation
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.