insert users::User { name := $user_name, age := $age, friend := ( select users::User { name, age, } filter .name = $friend_name ) }