Batch Update
1 | interface PositionMapper { |
1 | <update id="updateList" parameterType="it.unimi.dsi.fastutil.objects.ReferenceArrayList"> |
Usage
1 | fun getBatchCount(results: List<BatchResult>): Int { |
Batch Insert
1 | <insert id="insertList" parameterType="it.unimi.dsi.fastutil.objects.ReferenceArrayList"> |
1 | fun batchInsert(positions: List<Position>): Boolean { |