-
Required Element Summary
Required Elements
The keys which are used to compare which rows should be updated
(those are not updated obviously, but inserted if no match was found
The table where you want to update/insert
-
Optional Element Summary
Optional Elements
The name of the method in the LazyDb class.
If specified, only the fields specified are updated (still everything
is inserted).
The params of the method.
boolean
If true (default) we use a single object containing all properties
as input (with typesafe builder).
-
Element Details
-
table
The table where you want to update/insert
- Returns:
-
keys
The keys which are used to compare which rows should be updated
(those are not updated obviously, but inserted if no match was found
- Returns:
-
-
params
The params of the method. Corresponds to the columns in the table,
default to the method parameters
- Returns:
- Default:
- {""}
-
-
onlyUpdate
If specified, only the fields specified are updated (still everything
is inserted). If empty everything is updated (except for the keys).
- Returns:
- Default:
- {""}
-
methodName
The name of the method in the LazyDb class. Defaults to the annotated
method.
- Returns:
- Default:
- ""