From 789fae1eaecb57c5989fd86ff74fc58b454a8f07 Mon Sep 17 00:00:00 2001 From: alemi Date: Fri, 19 Apr 2024 06:21:26 +0200 Subject: [PATCH] fix: oops revert! breaks querying probably im doing it wrong somewhere else but nonetheless fuck go back --- src/model/addressing.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/model/addressing.rs b/src/model/addressing.rs index 513b8e8e..7fe4a788 100644 --- a/src/model/addressing.rs +++ b/src/model/addressing.rs @@ -92,11 +92,11 @@ impl Entity { .join(sea_orm::JoinType::LeftJoin, crate::model::activity::Relation::Object.def()); for col in crate::model::activity::Column::iter() { - select = select.select_column(col); + select = select.select_column_as(col, format!("{}{}", crate::model::activity::Entity.table_name(), col.to_string())); } for col in crate::model::object::Column::iter() { - select = select.select_column(col); + select = select.select_column_as(col, format!("{}{}", crate::model::object::Entity.table_name(), col.to_string())); } select