for(Relation<?> relation : relations) {
ArrayList<Object> data = new ArrayList<Object>(ids.size());
for(DBID id : ids) {
data.add(relation.get(id));
}
bundle.appendColumn(relation.getDataTypeInformation(), data);
}
// remove from db
for(DBID id : ids) {
doDelete(id);
}