Skip to content

Commit

Permalink
Update README (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitusortner authored Mar 1, 2019
1 parent 0218c0e commit 1955c5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ All these methods accept single or multiple entity instances.
- **Insert**

`@insert` marks a method as an insertion method.
WHen using the capitalized `@Insert` you can specify a conflict strategy.
Else it just defaults to aborting the insert.
These methods can return a `Future` of either `void`, `int` or `List<int>`.
- `void` return nothing
- `int` return primary key of inserted item
Expand All @@ -162,6 +164,8 @@ All these methods accept single or multiple entity instances.
- **Update**

`@update` marks a method as an update method.
When using the capitalized `@Update` you can specify a conflict strategy.
Else it just defaults to aborting the update.
These methods can return a `Future` of either `void` or `int`.
- `void` return nothing
- `int` return number of changed rows
Expand Down

0 comments on commit 1955c5a

Please sign in to comment.