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
  1. One entity action.
    • add(obj) : Insert a object
    • update(obj) : Update a object
    • deleteById(id) : Delete a object by id
  2. Batch action with condition
    • byQuery byCondition use the same param with query.
    • byFieldfield, value is eq to byQuery{ [field]: value }
    • byQuery will not use fixed properties e. start_, count_
  3. If definded delMark, it will exec update in delete apis.

That's all.