#pragma once

#include <maps/wikimap/mapspro/services/mrc/libs/db/include/common.h>
#include <maps/wikimap/mapspro/services/mrc/libs/db/include/eye/object.h>

#include <pqxx/pqxx>

namespace maps::mrc::eye {

// Recalculates relations between @param objects
// then saves results to eye.object_relation
void updateObjectRelations(
    pqxx::transaction_base& txn,
    const db::TIds& objectIds);

} // namespace maps::mrc::eye
