You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: nested_set_inside_update.rs
    path of file: ./repos/prisma-engines/query-engine/connector-test-kit-rs/query-engine-tests/tests/writes/nested_mutations/already_converted
    
    the code of the file until where you have to start completion: use query_engine_tests::*;

#[test_suite]
mod set_inside_update {
    use query_engine_tests::{run_query, run_query_json, DatamodelWithParams};
    use query_test_macros::relation_link_test;

    // "a PM to C1  relation with the child already in a relation" should "be setable through a nested mutation by unique"
    #[relation_link_test(on_parent = "ToMany", on_child = "ToOneOpt")]
    async fn pm_c1_child_inrel(runner: &Runner, t: &DatamodelWithParams) -> TestResult<()> {
        run_query!(
            runner,
            format!(
                r#"mutation {{
                  createOneParent(data: {{
                    p: "p1", p_1: "p", p_2: "1"
                    childrenOpt: {{
                      create: [{{c: "c1", c_1: "c1", c_2: "c2"}}, {{c: "c2", c_1: "c3", c_2: "c4"}}]
                    }}
                  }}){{
                    {
    
    async fn pm_cm_child_inrel_set_empty(runner: &Runner, t: &DatamodelWithParams) -> TestResult<()> {
        run_query_json!(
            runner,
            format!(
                r#"mutation {{
                  createOneParent(data: {{
                    p: "p1", p_1: "p", p_2: "1"
                    childrenOpt: {{
                      create: [
                        {{c: "c1", c_1: "c", c_2: "1"}},
                        {{c: "c2", c_1: "c", c_2: "2"}}
                      ]
                    }}
                  }}){{
                    {selection}
                    childrenOpt{{
                      c
                    }}
                  }}
                }}"#,
                selection = t.parent().selection()
            )
        );
        let parent = t.parent().parse(
            run_query_json!(
                runner,
                format!(
                    r#"mutation {{
                      createOneParent(data: {{
                        p: "p2", p_1: "p", p_2: "2"
                        childrenOpt: {{
                          create: [{{c: "c3", c_1: "u", c_2: "w"}},{{c: "c4", c_1: "g", c_2: "l"}}]
                        }}
                      }}){{
                        {selection}
                        childrenOpt{{
                          c
                        }}
                      }}
                    }}"#,
                    selection = t.parent().selection()
                )
            ),
            &["data", "createOneParent"],
        )?;

        insta::assert_snapshot!(
          run_query!(runner, format!(r#"mutation {{
            updateOneParent(
              where: {parent}
              data:{{
                childrenOpt: {{set: []}}
            }}){{
              childrenOpt{{
                c
              }}
            }}
          }}"#)),
          @r###"{"data":{"updateOneParent":{"childrenOpt":[]}}}"###
        );

        insta::assert_snapshot!(
          run_query!(runner, r#"query{findManyChild(orderBy: { c: asc }){c, parentsOpt{p}}}"#),
          @r###"{"data":{"findManyChild":[{"c":"c1","parentsOpt":[{"p":"p1"}]},{"c":"c2","parentsOpt":[{"p":"p1"}]},{"c":"c3","parentsOpt":[]},{"c":"c4","parentsOpt":[]}]}}"###
        );

        Ok(())
    }