diff --git a/query-engine/core/src/query_ast/write.rs b/query-engine/core/src/query_ast/write.rs index ee51830e7962..78d0e3ccbf16 100644 --- a/query-engine/core/src/query_ast/write.rs +++ b/query-engine/core/src/query_ast/write.rs @@ -206,7 +206,11 @@ impl ToGraphviz for WriteQuery { match self { Self::CreateRecord(q) => format!("CreateRecord(model: {}, args: {:?})", q.model.name(), q.args), Self::CreateManyRecords(q) => format!("CreateManyRecord(model: {})", q.model.name()), - Self::UpdateRecord(q) => format!("UpdateRecord(model: {})", q.model().name(),), + Self::UpdateRecord(q) => format!( + "UpdateRecord(model: {}, selection: {:?})", + q.model().name(), + q.selected_fields() + ), Self::DeleteRecord(q) => format!("DeleteRecord: {}, {:?}", q.model.name(), q.record_filter), Self::UpdateManyRecords(q) => format!("UpdateManyRecords(model: {}, args: {:?})", q.model.name(), q.args), Self::DeleteManyRecords(q) => format!("DeleteManyRecords: {}", q.model.name()),