code: public int[] updateBatch(@SQL @NotNull String sql, @NotNull List<? extends  List<?>> argumentLists) {
          SqlQuery query = SqlQuery.query(sql, "<batch-update>");
  
          return withCurrentTransaction(query, tx -> {
              logQuery(query);
  
              try (PreparedStatement ps = tx.getConnection().prepareStatement(sql)) {
                  bindQueryParameters(ps, query);
                  for (List<?> arguments : argumentLists) {
                      bindArguments(ps, arguments);
                      ps.addBatch();
                  }
                  long startTime = currentTimeMillis();
                  int[] counts = ps.executeBatch();
                  logQueryExecution(query, currentTimeMillis() - startTime);
                  return counts;
              }
          });
      }
docs: Executes a batch update against the database, returning an array of modification
  counts for each argument list.