fix: oops revert! breaks querying
probably im doing it wrong somewhere else but nonetheless fuck go back
This commit is contained in:
parent
bccf1f3a26
commit
789fae1eae
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue