Skip to content

Commit

Permalink
comments and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Gil Mizrahi committed Feb 8, 2024
1 parent 157e49b commit 268e0ca
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions crates/connectors/ndc-postgres/src/mutation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ pub async fn mutation<'a>(
timer.complete_with(result)
}

/// Create a mutation execution plan from a request.
pub fn plan_mutation(
configuration: &configuration::RuntimeConfiguration,
state: &state::State,
Expand Down
2 changes: 1 addition & 1 deletion crates/query-engine/execution/src/mutation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ pub async fn explain(

let mut results = vec![];

// todo: run an explain against the db
// run each query against the database and add result and sql to the results vector.
for mutation in mutations {
let query_sql = mutation.explain_query_sql();
let plan = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
{
"from": 1,
"to": 1,
"array": [1,2,3]
"array": [1, 2, 3]
},
{
"from": 1,
"to": 1,
"array": [4,5,6]
"array": [4, 5, 6]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
{
"from": 1,
"to": 1,
"array": [1,2,3]
"array": [1, 2, 3]
},
{
"from": 2,
"to": 2,
"array": [4,5,6]
"array": [4, 5, 6]
}
]
}

0 comments on commit 268e0ca

Please sign in to comment.