Action
API Summary
We list All Api in Query Charpter. These 9 API is about actions :
| add | update | delete |
|---|---|---|
| updateByQuery | deleteByQuery | |
| updateByCondition | deleteByCondition | |
| updateByField | deleteByField | |
| add | update | deleteById |
- One entity action.
- add(obj) : Insert a object
- update(obj) : Update a object
- deleteById(id) : Delete a object by id
- Batch action with condition
- byQuery byCondition use the same param with query.
- byField
field, valueis eq to byQuery{ [field]: value } - byQuery will not use fixed properties e.
start_,count_。
- If definded delMark, it will exec update in delete apis.
That's all.