@CompileStatic trait GormBatchRepo
A trait add batch processing and "mass" updating methods to a Repository
Type Params | Return Type | Name and description |
---|---|---|
|
void |
batchCreate(Map args = [:], List<Map> list) |
|
void |
batchPersist(Map args = [:], List<D> list) |
|
void |
batchRemove(Map args = [:], List list) |
|
void |
batchTrx(List list, Closure closure) Transactional, Iterates over list and runs closure for each item |
|
void |
batchUpdate(Map args = [:], List<Map> list) |