diff --git a/crates/query-engine/translation/src/translation/mutation/v2/delete.rs b/crates/query-engine/translation/src/translation/mutation/v2/delete.rs index bc3eb3cfa..75cf18aad 100644 --- a/crates/query-engine/translation/src/translation/mutation/v2/delete.rs +++ b/crates/query-engine/translation/src/translation/mutation/v2/delete.rs @@ -49,8 +49,7 @@ pub fn generate_delete_by_unique( )?; let name = format!( - "{}_delete_{collection_name}_by_{constraint_name}", - super::VERSION + "delete_{collection_name}_by_{constraint_name}" ) .into(); diff --git a/crates/query-engine/translation/src/translation/mutation/v2/insert.rs b/crates/query-engine/translation/src/translation/mutation/v2/insert.rs index e1c8684c6..706d36ccc 100644 --- a/crates/query-engine/translation/src/translation/mutation/v2/insert.rs +++ b/crates/query-engine/translation/src/translation/mutation/v2/insert.rs @@ -32,7 +32,7 @@ pub fn generate( collection_name: &models::CollectionName, table_info: &database::TableInfo, ) -> (models::ProcedureName, InsertMutation) { - let name = format!("{}_insert_{collection_name}", super::VERSION).into(); + let name = format!("insert_{collection_name}").into(); let description = format!("Insert into the {collection_name} table"); diff --git a/crates/query-engine/translation/src/translation/mutation/v2/mod.rs b/crates/query-engine/translation/src/translation/mutation/v2/mod.rs index 2ab33549d..95aac9717 100644 --- a/crates/query-engine/translation/src/translation/mutation/v2/mod.rs +++ b/crates/query-engine/translation/src/translation/mutation/v2/mod.rs @@ -7,7 +7,7 @@ //! //! * A single insert procedure is generated per table of the form: //! -//! > v2_insert_( +//! > insert_
( //! > objects: [], //! > post_check: //! > ) diff --git a/crates/query-engine/translation/src/translation/mutation/v2/update.rs b/crates/query-engine/translation/src/translation/mutation/v2/update.rs index 8384ddec5..7c3b75d3c 100644 --- a/crates/query-engine/translation/src/translation/mutation/v2/update.rs +++ b/crates/query-engine/translation/src/translation/mutation/v2/update.rs @@ -64,8 +64,7 @@ pub fn generate_update_by_unique( )?; let name = format!( - "{}_update_{collection_name}_by_{constraint_name}", - super::VERSION + "update_{collection_name}_by_{constraint_name}" ) .into(); diff --git a/crates/query-engine/translation/tests/goldenfiles/mutations/v2_insert/configuration.json b/crates/query-engine/translation/tests/goldenfiles/mutations/insert/configuration.json similarity index 100% rename from crates/query-engine/translation/tests/goldenfiles/mutations/v2_insert/configuration.json rename to crates/query-engine/translation/tests/goldenfiles/mutations/insert/configuration.json diff --git a/crates/query-engine/translation/tests/goldenfiles/mutations/v2_insert/request.json b/crates/query-engine/translation/tests/goldenfiles/mutations/insert/request.json similarity index 97% rename from crates/query-engine/translation/tests/goldenfiles/mutations/v2_insert/request.json rename to crates/query-engine/translation/tests/goldenfiles/mutations/insert/request.json index 6dc2970f1..3604ad116 100644 --- a/crates/query-engine/translation/tests/goldenfiles/mutations/v2_insert/request.json +++ b/crates/query-engine/translation/tests/goldenfiles/mutations/insert/request.json @@ -2,7 +2,7 @@ "operations": [ { "type": "procedure", - "name": "v2_insert_Artist", + "name": "insert_Artist", "arguments": { "objects": [ { diff --git a/crates/query-engine/translation/tests/goldenfiles/mutations/v2_insert_empty_objects/configuration.json b/crates/query-engine/translation/tests/goldenfiles/mutations/insert_empty_objects/configuration.json similarity index 100% rename from crates/query-engine/translation/tests/goldenfiles/mutations/v2_insert_empty_objects/configuration.json rename to crates/query-engine/translation/tests/goldenfiles/mutations/insert_empty_objects/configuration.json diff --git a/crates/query-engine/translation/tests/goldenfiles/mutations/v2_insert_empty_objects/request.json b/crates/query-engine/translation/tests/goldenfiles/mutations/insert_empty_objects/request.json similarity index 96% rename from crates/query-engine/translation/tests/goldenfiles/mutations/v2_insert_empty_objects/request.json rename to crates/query-engine/translation/tests/goldenfiles/mutations/insert_empty_objects/request.json index 183a7855e..522f2c8cb 100644 --- a/crates/query-engine/translation/tests/goldenfiles/mutations/v2_insert_empty_objects/request.json +++ b/crates/query-engine/translation/tests/goldenfiles/mutations/insert_empty_objects/request.json @@ -2,7 +2,7 @@ "operations": [ { "type": "procedure", - "name": "v2_insert_Dog", + "name": "insert_Dog", "arguments": { "objects": [{}, {}, {}, {}], "post_check": { diff --git a/crates/query-engine/translation/tests/snapshots/tests__mutations__insert.snap b/crates/query-engine/translation/tests/snapshots/tests__mutations__insert.snap new file mode 100644 index 000000000..9d723e2d9 --- /dev/null +++ b/crates/query-engine/translation/tests/snapshots/tests__mutations__insert.snap @@ -0,0 +1,63 @@ +--- +source: crates/query-engine/translation/tests/tests.rs +assertion_line: 414 +expression: result +--- +BEGIN +ISOLATION LEVEL READ COMMITTED READ WRITE; + +WITH "%0_generated_mutation" AS ( + INSERT INTO + "public"."Artist"("ArtistId", "Name") + VALUES + (276, cast($1 as "pg_catalog"."varchar")), + (DEFAULT, cast($2 as "pg_catalog"."varchar")) RETURNING *, + false AS "%check__constraint" +) +SELECT + ( + SELECT + json_build_object('result', row_to_json("%4_universe"), 'type', $3) AS "universe" + FROM + ( + SELECT + * + FROM + ( + SELECT + coalesce(json_agg(row_to_json("%5_returning")), '[]') AS "returning" + FROM + ( + SELECT + "%1_Artist"."ArtistId" AS "artist_id", + "%1_Artist"."Name" AS "name" + FROM + "%0_generated_mutation" AS "%1_Artist" + ) AS "%5_returning" + ) AS "%5_returning" + CROSS JOIN ( + SELECT + COUNT(*) AS "affected_rows" + FROM + ( + SELECT + "%2_Artist".* + FROM + "%0_generated_mutation" AS "%2_Artist" + ) AS "%3_Artist" + ) AS "%6_aggregates" + ) AS "%4_universe" + ) AS "%results", + ( + SELECT + coalesce( + bool_and("%7_insert_Artist"."%check__constraint"), + true + ) AS "%check__constraint" + FROM + "%0_generated_mutation" AS "%7_insert_Artist" + ) AS "%check__constraint"; + +COMMIT; + +[[(1, String("Olympians")), (2, String("The Other Band")), (3, String("procedure"))]] diff --git a/crates/query-engine/translation/tests/snapshots/tests__mutations__insert_empty_objects.snap b/crates/query-engine/translation/tests/snapshots/tests__mutations__insert_empty_objects.snap new file mode 100644 index 000000000..a253de33c --- /dev/null +++ b/crates/query-engine/translation/tests/snapshots/tests__mutations__insert_empty_objects.snap @@ -0,0 +1,63 @@ +--- +source: crates/query-engine/translation/tests/tests.rs +assertion_line: 423 +expression: result +--- +BEGIN +ISOLATION LEVEL READ COMMITTED READ WRITE; + +WITH "%0_generated_mutation" AS ( + INSERT INTO + "public"."Dog" + SELECT + FROM + generate_series(1, 4) RETURNING *, + true AS "%check__constraint" +) +SELECT + ( + SELECT + json_build_object('result', row_to_json("%4_universe"), 'type', $1) AS "universe" + FROM + ( + SELECT + * + FROM + ( + SELECT + coalesce(json_agg(row_to_json("%5_returning")), '[]') AS "returning" + FROM + ( + SELECT + "%1_Dog"."id" AS "id", + "%1_Dog"."adopter_name" AS "adopter_name" + FROM + "%0_generated_mutation" AS "%1_Dog" + ) AS "%5_returning" + ) AS "%5_returning" + CROSS JOIN ( + SELECT + COUNT(*) AS "affected_rows" + FROM + ( + SELECT + "%2_Dog".* + FROM + "%0_generated_mutation" AS "%2_Dog" + ) AS "%3_Dog" + ) AS "%6_aggregates" + ) AS "%4_universe" + ) AS "%results", + ( + SELECT + coalesce( + bool_and("%7_insert_Dog"."%check__constraint"), + true + ) AS "%check__constraint" + FROM + "%0_generated_mutation" AS "%7_insert_Dog" + ) AS "%check__constraint"; + +COMMIT; + +[[(1, String("procedure"))]] diff --git a/crates/query-engine/translation/tests/snapshots/tests__mutations__v2_insert.snap b/crates/query-engine/translation/tests/snapshots/tests__mutations__v2_insert.snap.old similarity index 92% rename from crates/query-engine/translation/tests/snapshots/tests__mutations__v2_insert.snap rename to crates/query-engine/translation/tests/snapshots/tests__mutations__v2_insert.snap.old index 5fe545d27..3b627f76b 100644 --- a/crates/query-engine/translation/tests/snapshots/tests__mutations__v2_insert.snap +++ b/crates/query-engine/translation/tests/snapshots/tests__mutations__v2_insert.snap.old @@ -50,11 +50,11 @@ SELECT ( SELECT coalesce( - bool_and("%7_v2_insert_Artist"."%check__constraint"), + bool_and("%7_insert_Artist"."%check__constraint"), true ) AS "%check__constraint" FROM - "%0_generated_mutation" AS "%7_v2_insert_Artist" + "%0_generated_mutation" AS "%7_insert_Artist" ) AS "%check__constraint"; COMMIT; diff --git a/crates/query-engine/translation/tests/snapshots/tests__mutations__v2_insert_empty_objects.snap b/crates/query-engine/translation/tests/snapshots/tests__mutations__v2_insert_empty_objects.snap.old similarity index 92% rename from crates/query-engine/translation/tests/snapshots/tests__mutations__v2_insert_empty_objects.snap rename to crates/query-engine/translation/tests/snapshots/tests__mutations__v2_insert_empty_objects.snap.old index d1c6d711e..b125b2c0a 100644 --- a/crates/query-engine/translation/tests/snapshots/tests__mutations__v2_insert_empty_objects.snap +++ b/crates/query-engine/translation/tests/snapshots/tests__mutations__v2_insert_empty_objects.snap.old @@ -50,11 +50,11 @@ SELECT ( SELECT coalesce( - bool_and("%7_v2_insert_Dog"."%check__constraint"), + bool_and("%7_insert_Dog"."%check__constraint"), true ) AS "%check__constraint" FROM - "%0_generated_mutation" AS "%7_v2_insert_Dog" + "%0_generated_mutation" AS "%7_insert_Dog" ) AS "%check__constraint"; COMMIT; diff --git a/crates/query-engine/translation/tests/tests.rs b/crates/query-engine/translation/tests/tests.rs index a0c4f88ef..654e863c4 100644 --- a/crates/query-engine/translation/tests/tests.rs +++ b/crates/query-engine/translation/tests/tests.rs @@ -407,17 +407,17 @@ mod mutations { } #[tokio::test] - async fn v2_insert() { - let result = common::test_mutation_translation(IsolationLevel::default(), "v2_insert") + async fn insert() { + let result = common::test_mutation_translation(IsolationLevel::default(), "insert") .await .unwrap(); insta::assert_snapshot!(result); } #[tokio::test] - async fn v2_insert_empty_objects() { + async fn insert_empty_objects() { let result = - common::test_mutation_translation(IsolationLevel::default(), "v2_insert_empty_objects") + common::test_mutation_translation(IsolationLevel::default(), "insert_empty_objects") .await .unwrap(); insta::assert_snapshot!(result); diff --git a/crates/tests/databases-tests/src/postgres/explain_tests.rs b/crates/tests/databases-tests/src/postgres/explain_tests.rs index 9349fc965..2c7ea4114 100644 --- a/crates/tests/databases-tests/src/postgres/explain_tests.rs +++ b/crates/tests/databases-tests/src/postgres/explain_tests.rs @@ -157,18 +157,18 @@ mod mutation { } #[tokio::test] - async fn v2_insert_custom_dog() { - let result = run_mutation_explain(create_router().await, "v2_insert_custom_dog").await; + async fn insert_custom_dog() { + let result = run_mutation_explain(create_router().await, "insert_custom_dog").await; is_contained_in_lines( &["Insert", "Aggregate"], result .details - .get("0 v2_insert_custom_dog Execution Plan") + .get("0 insert_custom_dog Execution Plan") .unwrap(), ); insta::assert_snapshot!(result .details - .get("0 v2_insert_custom_dog SQL Mutation") + .get("0 insert_custom_dog SQL Mutation") .unwrap()); } @@ -195,9 +195,9 @@ mod mutation { } #[tokio::test] - async fn v2_insert_update_custom_dog() { + async fn insert_update_custom_dog() { let result = - run_mutation_explain(create_router().await, "v2_insert_update_custom_dog").await; + run_mutation_explain(create_router().await, "insert_update_custom_dog").await; is_contained_in_lines( &["Update", "Aggregate"], result diff --git a/crates/tests/databases-tests/src/postgres/mutation_tests.rs b/crates/tests/databases-tests/src/postgres/mutation_tests.rs index 1718d9856..3d886c4c9 100644 --- a/crates/tests/databases-tests/src/postgres/mutation_tests.rs +++ b/crates/tests/databases-tests/src/postgres/mutation_tests.rs @@ -89,7 +89,7 @@ mod basic { } #[tokio::test(flavor = "multi_thread")] - async fn v2_insert_custom_dog() { + async fn insert_custom_dog() { let ndc_metadata = FreshDeployment::create(common::CONNECTION_URI, common::CHINOOK_NDC_METADATA_PATH) .await @@ -101,7 +101,7 @@ mod basic { ) .await; - let mutation_result = run_mutation(router.clone(), "v2_insert_custom_dog").await; + let mutation_result = run_mutation(router.clone(), "insert_custom_dog").await; let result = mutation_result; @@ -109,7 +109,7 @@ mod basic { } #[tokio::test(flavor = "multi_thread")] - async fn v2_insert_defaults() { + async fn insert_defaults() { let ndc_metadata = FreshDeployment::create(common::CONNECTION_URI, common::CHINOOK_NDC_METADATA_PATH) .await @@ -121,7 +121,7 @@ mod basic { ) .await; - let mutation_result = run_mutation(router.clone(), "v2_insert_defaults").await; + let mutation_result = run_mutation(router.clone(), "insert_defaults").await; let result = mutation_result; @@ -129,7 +129,7 @@ mod basic { } #[tokio::test(flavor = "multi_thread")] - async fn v2_insert_enum() { + async fn insert_enum() { let ndc_metadata = FreshDeployment::create(common::CONNECTION_URI, common::CHINOOK_NDC_METADATA_PATH) .await @@ -141,7 +141,7 @@ mod basic { ) .await; - let mutation_result = run_mutation(router.clone(), "v2_insert_enum").await; + let mutation_result = run_mutation(router.clone(), "insert_enum").await; let result = mutation_result; @@ -149,7 +149,7 @@ mod basic { } #[tokio::test(flavor = "multi_thread")] - async fn v2_insert_update_custom_dog() { + async fn insert_update_custom_dog() { let ndc_metadata = FreshDeployment::create(common::CONNECTION_URI, common::CHINOOK_NDC_METADATA_PATH) .await @@ -161,7 +161,7 @@ mod basic { ) .await; - let mutation_result = run_mutation(router.clone(), "v2_insert_update_custom_dog").await; + let mutation_result = run_mutation(router.clone(), "insert_update_custom_dog").await; let result = mutation_result; @@ -227,7 +227,7 @@ mod negative { #[tokio::test(flavor = "multi_thread")] /// Check that insert fails due to missing column. - async fn v2_insert_custom_dog_missing_column() { + async fn insert_custom_dog_missing_column() { let ndc_metadata = FreshDeployment::create(common::CONNECTION_URI, common::CHINOOK_NDC_METADATA_PATH) .await @@ -241,7 +241,7 @@ mod negative { let mutation_result = run_mutation_fail( router.clone(), - "v2_insert_custom_dog_missing_column", + "insert_custom_dog_missing_column", StatusCode::BAD_REQUEST, ) .await; @@ -253,7 +253,7 @@ mod negative { #[tokio::test(flavor = "multi_thread")] /// Check that insert fails due to predicate returning false. - async fn v2_insert_custom_dog_predicate_fail() { + async fn insert_custom_dog_predicate_fail() { let ndc_metadata = FreshDeployment::create(common::CONNECTION_URI, common::CHINOOK_NDC_METADATA_PATH) .await @@ -267,7 +267,7 @@ mod negative { let mutation_result = run_mutation_fail( router.clone(), - "v2_insert_custom_dog_predicate_fail", + "insert_custom_dog_predicate_fail", StatusCode::FORBIDDEN, ) .await; @@ -278,7 +278,7 @@ mod negative { } #[tokio::test(flavor = "multi_thread")] - async fn v2_insert_enum_invalid_label() { + async fn insert_enum_invalid_label() { let ndc_metadata = FreshDeployment::create(common::CONNECTION_URI, common::CHINOOK_NDC_METADATA_PATH) .await @@ -292,7 +292,7 @@ mod negative { let mutation_result = run_mutation_fail( router.clone(), - "v2_insert_enum_invalid_label", + "insert_enum_invalid_label", StatusCode::UNPROCESSABLE_ENTITY, ) .await; @@ -303,7 +303,7 @@ mod negative { } #[tokio::test(flavor = "multi_thread")] - async fn v2_insert_artist_missing_column() { + async fn insert_artist_missing_column() { let ndc_metadata = FreshDeployment::create(common::CONNECTION_URI, common::CHINOOK_NDC_METADATA_PATH) .await @@ -317,7 +317,7 @@ mod negative { let mutation_result = run_mutation_fail( router.clone(), - "v2_insert_Artist_missing_column", + "insert_Artist_missing_column", StatusCode::BAD_REQUEST, ) .await; diff --git a/crates/tests/databases-tests/src/postgres/snapshots/databases_tests__postgres__explain_tests__mutation__v2_insert_custom_dog.snap b/crates/tests/databases-tests/src/postgres/snapshots/databases_tests__postgres__explain_tests__mutation__v2_insert_custom_dog.snap index cec27ae33..be1183bf1 100644 --- a/crates/tests/databases-tests/src/postgres/snapshots/databases_tests__postgres__explain_tests__mutation__v2_insert_custom_dog.snap +++ b/crates/tests/databases-tests/src/postgres/snapshots/databases_tests__postgres__explain_tests__mutation__v2_insert_custom_dog.snap @@ -1,6 +1,6 @@ --- source: crates/tests/databases-tests/src/postgres/explain_tests.rs -expression: "result.details.get(\"0 v2_insert_custom_dog SQL Mutation\").unwrap()" +expression: "result.details.get(\"0 insert_custom_dog SQL Mutation\").unwrap()" --- EXPLAIN WITH "%0_generated_mutation" AS ( INSERT INTO @@ -63,9 +63,9 @@ SELECT ( SELECT coalesce( - bool_and("%7_v2_insert_custom_dog"."%check__constraint"), + bool_and("%7_insert_custom_dog"."%check__constraint"), true ) AS "%check__constraint" FROM - "%0_generated_mutation" AS "%7_v2_insert_custom_dog" + "%0_generated_mutation" AS "%7_insert_custom_dog" ) AS "%check__constraint" diff --git a/crates/tests/databases-tests/src/postgres/snapshots/databases_tests__postgres__schema_tests__schema_test__get_schema.snap b/crates/tests/databases-tests/src/postgres/snapshots/databases_tests__postgres__schema_tests__schema_test__get_schema.snap index dfdcf0787..2c684f6ad 100644 --- a/crates/tests/databases-tests/src/postgres/snapshots/databases_tests__postgres__schema_tests__schema_test__get_schema.snap +++ b/crates/tests/databases-tests/src/postgres/snapshots/databases_tests__postgres__schema_tests__schema_test__get_schema.snap @@ -5906,7 +5906,7 @@ expression: result } } }, - "v2_insert_Album_object": { + "insert_Album_object": { "fields": { "AlbumId": { "description": "The identifier of an album", @@ -5931,8 +5931,8 @@ expression: result } } }, - "v2_insert_Album_response": { - "description": "Responses from the 'v2_insert_Album' procedure", + "insert_Album_response": { + "description": "Responses from the 'insert_Album' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -5953,7 +5953,7 @@ expression: result } } }, - "v2_insert_Artist_object": { + "insert_Artist_object": { "fields": { "ArtistId": { "description": "The identifier of an artist", @@ -5974,8 +5974,8 @@ expression: result } } }, - "v2_insert_Artist_response": { - "description": "Responses from the 'v2_insert_Artist' procedure", + "insert_Artist_response": { + "description": "Responses from the 'insert_Artist' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -5996,7 +5996,7 @@ expression: result } } }, - "v2_insert_Customer_object": { + "insert_Customer_object": { "fields": { "Address": { "type": { @@ -6108,8 +6108,8 @@ expression: result } } }, - "v2_insert_Customer_response": { - "description": "Responses from the 'v2_insert_Customer' procedure", + "insert_Customer_response": { + "description": "Responses from the 'insert_Customer' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -6130,7 +6130,7 @@ expression: result } } }, - "v2_insert_Employee_object": { + "insert_Employee_object": { "fields": { "Address": { "type": { @@ -6260,8 +6260,8 @@ expression: result } } }, - "v2_insert_Employee_response": { - "description": "Responses from the 'v2_insert_Employee' procedure", + "insert_Employee_response": { + "description": "Responses from the 'insert_Employee' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -6282,7 +6282,7 @@ expression: result } } }, - "v2_insert_Genre_object": { + "insert_Genre_object": { "fields": { "GenreId": { "type": { @@ -6301,8 +6301,8 @@ expression: result } } }, - "v2_insert_Genre_response": { - "description": "Responses from the 'v2_insert_Genre' procedure", + "insert_Genre_response": { + "description": "Responses from the 'insert_Genre' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -6323,7 +6323,7 @@ expression: result } } }, - "v2_insert_InvoiceLine_object": { + "insert_InvoiceLine_object": { "fields": { "InvoiceId": { "type": { @@ -6357,8 +6357,8 @@ expression: result } } }, - "v2_insert_InvoiceLine_response": { - "description": "Responses from the 'v2_insert_InvoiceLine' procedure", + "insert_InvoiceLine_response": { + "description": "Responses from the 'insert_InvoiceLine' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -6379,7 +6379,7 @@ expression: result } } }, - "v2_insert_Invoice_object": { + "insert_Invoice_object": { "fields": { "BillingAddress": { "type": { @@ -6452,8 +6452,8 @@ expression: result } } }, - "v2_insert_Invoice_response": { - "description": "Responses from the 'v2_insert_Invoice' procedure", + "insert_Invoice_response": { + "description": "Responses from the 'insert_Invoice' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -6474,7 +6474,7 @@ expression: result } } }, - "v2_insert_MediaType_object": { + "insert_MediaType_object": { "fields": { "MediaTypeId": { "type": { @@ -6493,8 +6493,8 @@ expression: result } } }, - "v2_insert_MediaType_response": { - "description": "Responses from the 'v2_insert_MediaType' procedure", + "insert_MediaType_response": { + "description": "Responses from the 'insert_MediaType' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -6515,7 +6515,7 @@ expression: result } } }, - "v2_insert_PlaylistTrack_object": { + "insert_PlaylistTrack_object": { "fields": { "PlaylistId": { "type": { @@ -6531,8 +6531,8 @@ expression: result } } }, - "v2_insert_PlaylistTrack_response": { - "description": "Responses from the 'v2_insert_PlaylistTrack' procedure", + "insert_PlaylistTrack_response": { + "description": "Responses from the 'insert_PlaylistTrack' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -6553,7 +6553,7 @@ expression: result } } }, - "v2_insert_Playlist_object": { + "insert_Playlist_object": { "fields": { "Name": { "type": { @@ -6572,8 +6572,8 @@ expression: result } } }, - "v2_insert_Playlist_response": { - "description": "Responses from the 'v2_insert_Playlist' procedure", + "insert_Playlist_response": { + "description": "Responses from the 'insert_Playlist' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -6594,7 +6594,7 @@ expression: result } } }, - "v2_insert_Track_object": { + "insert_Track_object": { "fields": { "AlbumId": { "type": { @@ -6664,8 +6664,8 @@ expression: result } } }, - "v2_insert_Track_response": { - "description": "Responses from the 'v2_insert_Track' procedure", + "insert_Track_response": { + "description": "Responses from the 'insert_Track' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -6686,7 +6686,7 @@ expression: result } } }, - "v2_insert_custom_defaults_object": { + "insert_custom_defaults_object": { "fields": { "birthday": { "type": { @@ -6717,8 +6717,8 @@ expression: result } } }, - "v2_insert_custom_defaults_response": { - "description": "Responses from the 'v2_insert_custom_defaults' procedure", + "insert_custom_defaults_response": { + "description": "Responses from the 'insert_custom_defaults' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -6739,7 +6739,7 @@ expression: result } } }, - "v2_insert_custom_dog_object": { + "insert_custom_dog_object": { "fields": { "adopter_name": { "type": { @@ -6773,8 +6773,8 @@ expression: result } } }, - "v2_insert_custom_dog_response": { - "description": "Responses from the 'v2_insert_custom_dog' procedure", + "insert_custom_dog_response": { + "description": "Responses from the 'insert_custom_dog' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -6795,7 +6795,7 @@ expression: result } } }, - "v2_insert_custom_test_cidr_object": { + "insert_custom_test_cidr_object": { "fields": { "ip": { "type": { @@ -6817,8 +6817,8 @@ expression: result } } }, - "v2_insert_custom_test_cidr_response": { - "description": "Responses from the 'v2_insert_custom_test_cidr' procedure", + "insert_custom_test_cidr_response": { + "description": "Responses from the 'insert_custom_test_cidr' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -6839,7 +6839,7 @@ expression: result } } }, - "v2_insert_deck_of_cards_object": { + "insert_deck_of_cards_object": { "fields": { "pips": { "type": { @@ -6855,8 +6855,8 @@ expression: result } } }, - "v2_insert_deck_of_cards_response": { - "description": "Responses from the 'v2_insert_deck_of_cards' procedure", + "insert_deck_of_cards_response": { + "description": "Responses from the 'insert_deck_of_cards' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -6877,7 +6877,7 @@ expression: result } } }, - "v2_insert_discoverable_types_root_occurrence_object": { + "insert_discoverable_types_root_occurrence_object": { "fields": { "col": { "type": { @@ -6890,8 +6890,8 @@ expression: result } } }, - "v2_insert_discoverable_types_root_occurrence_response": { - "description": "Responses from the 'v2_insert_discoverable_types_root_occurrence' procedure", + "insert_discoverable_types_root_occurrence_response": { + "description": "Responses from the 'insert_discoverable_types_root_occurrence' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -6912,7 +6912,7 @@ expression: result } } }, - "v2_insert_even_numbers_object": { + "insert_even_numbers_object": { "fields": { "the_number": { "type": { @@ -6922,8 +6922,8 @@ expression: result } } }, - "v2_insert_even_numbers_response": { - "description": "Responses from the 'v2_insert_even_numbers' procedure", + "insert_even_numbers_response": { + "description": "Responses from the 'insert_even_numbers' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -6944,7 +6944,7 @@ expression: result } } }, - "v2_insert_group_leader_object": { + "insert_group_leader_object": { "fields": { "characters": { "type": { @@ -6975,8 +6975,8 @@ expression: result } } }, - "v2_insert_group_leader_response": { - "description": "Responses from the 'v2_insert_group_leader' procedure", + "insert_group_leader_response": { + "description": "Responses from the 'insert_group_leader' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -6997,7 +6997,7 @@ expression: result } } }, - "v2_insert_institution_institution_object": { + "insert_institution_institution_object": { "fields": { "departments": { "type": { @@ -7064,8 +7064,8 @@ expression: result } } }, - "v2_insert_institution_institution_response": { - "description": "Responses from the 'v2_insert_institution_institution' procedure", + "insert_institution_institution_response": { + "description": "Responses from the 'insert_institution_institution' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -7086,7 +7086,7 @@ expression: result } } }, - "v2_insert_phone_numbers_object": { + "insert_phone_numbers_object": { "fields": { "the_number": { "type": { @@ -7096,8 +7096,8 @@ expression: result } } }, - "v2_insert_phone_numbers_response": { - "description": "Responses from the 'v2_insert_phone_numbers' procedure", + "insert_phone_numbers_response": { + "description": "Responses from the 'insert_phone_numbers' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -7118,7 +7118,7 @@ expression: result } } }, - "v2_insert_spatial_ref_sys_object": { + "insert_spatial_ref_sys_object": { "fields": { "auth_name": { "type": { @@ -7164,8 +7164,8 @@ expression: result } } }, - "v2_insert_spatial_ref_sys_response": { - "description": "Responses from the 'v2_insert_spatial_ref_sys' procedure", + "insert_spatial_ref_sys_response": { + "description": "Responses from the 'insert_spatial_ref_sys' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -7186,7 +7186,7 @@ expression: result } } }, - "v2_insert_topology_layer_object": { + "insert_topology_layer_object": { "fields": { "child_id": { "type": { @@ -7244,8 +7244,8 @@ expression: result } } }, - "v2_insert_topology_layer_response": { - "description": "Responses from the 'v2_insert_topology_layer' procedure", + "insert_topology_layer_response": { + "description": "Responses from the 'insert_topology_layer' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -7266,7 +7266,7 @@ expression: result } } }, - "v2_insert_topology_topology_object": { + "insert_topology_topology_object": { "fields": { "hasz": { "type": { @@ -7306,8 +7306,8 @@ expression: result } } }, - "v2_insert_topology_topology_response": { - "description": "Responses from the 'v2_insert_topology_topology' procedure", + "insert_topology_topology_response": { + "description": "Responses from the 'insert_topology_topology' procedure", "fields": { "affected_rows": { "description": "The number of rows affected by the mutation", @@ -10342,7 +10342,7 @@ expression: result } }, { - "name": "v2_insert_Album", + "name": "insert_Album", "description": "Insert into the Album table", "arguments": { "objects": { @@ -10350,7 +10350,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_Album_object" + "name": "insert_Album_object" } } }, @@ -10364,11 +10364,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_Album_response" + "name": "insert_Album_response" } }, { - "name": "v2_insert_Artist", + "name": "insert_Artist", "description": "Insert into the Artist table", "arguments": { "objects": { @@ -10376,7 +10376,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_Artist_object" + "name": "insert_Artist_object" } } }, @@ -10390,11 +10390,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_Artist_response" + "name": "insert_Artist_response" } }, { - "name": "v2_insert_Customer", + "name": "insert_Customer", "description": "Insert into the Customer table", "arguments": { "objects": { @@ -10402,7 +10402,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_Customer_object" + "name": "insert_Customer_object" } } }, @@ -10416,11 +10416,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_Customer_response" + "name": "insert_Customer_response" } }, { - "name": "v2_insert_Employee", + "name": "insert_Employee", "description": "Insert into the Employee table", "arguments": { "objects": { @@ -10428,7 +10428,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_Employee_object" + "name": "insert_Employee_object" } } }, @@ -10442,11 +10442,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_Employee_response" + "name": "insert_Employee_response" } }, { - "name": "v2_insert_Genre", + "name": "insert_Genre", "description": "Insert into the Genre table", "arguments": { "objects": { @@ -10454,7 +10454,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_Genre_object" + "name": "insert_Genre_object" } } }, @@ -10468,11 +10468,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_Genre_response" + "name": "insert_Genre_response" } }, { - "name": "v2_insert_Invoice", + "name": "insert_Invoice", "description": "Insert into the Invoice table", "arguments": { "objects": { @@ -10480,7 +10480,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_Invoice_object" + "name": "insert_Invoice_object" } } }, @@ -10494,11 +10494,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_Invoice_response" + "name": "insert_Invoice_response" } }, { - "name": "v2_insert_InvoiceLine", + "name": "insert_InvoiceLine", "description": "Insert into the InvoiceLine table", "arguments": { "objects": { @@ -10506,7 +10506,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_InvoiceLine_object" + "name": "insert_InvoiceLine_object" } } }, @@ -10520,11 +10520,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_InvoiceLine_response" + "name": "insert_InvoiceLine_response" } }, { - "name": "v2_insert_MediaType", + "name": "insert_MediaType", "description": "Insert into the MediaType table", "arguments": { "objects": { @@ -10532,7 +10532,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_MediaType_object" + "name": "insert_MediaType_object" } } }, @@ -10546,11 +10546,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_MediaType_response" + "name": "insert_MediaType_response" } }, { - "name": "v2_insert_Playlist", + "name": "insert_Playlist", "description": "Insert into the Playlist table", "arguments": { "objects": { @@ -10558,7 +10558,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_Playlist_object" + "name": "insert_Playlist_object" } } }, @@ -10572,11 +10572,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_Playlist_response" + "name": "insert_Playlist_response" } }, { - "name": "v2_insert_PlaylistTrack", + "name": "insert_PlaylistTrack", "description": "Insert into the PlaylistTrack table", "arguments": { "objects": { @@ -10584,7 +10584,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_PlaylistTrack_object" + "name": "insert_PlaylistTrack_object" } } }, @@ -10598,11 +10598,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_PlaylistTrack_response" + "name": "insert_PlaylistTrack_response" } }, { - "name": "v2_insert_Track", + "name": "insert_Track", "description": "Insert into the Track table", "arguments": { "objects": { @@ -10610,7 +10610,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_Track_object" + "name": "insert_Track_object" } } }, @@ -10624,11 +10624,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_Track_response" + "name": "insert_Track_response" } }, { - "name": "v2_insert_custom_defaults", + "name": "insert_custom_defaults", "description": "Insert into the custom_defaults table", "arguments": { "objects": { @@ -10636,7 +10636,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_custom_defaults_object" + "name": "insert_custom_defaults_object" } } }, @@ -10650,11 +10650,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_custom_defaults_response" + "name": "insert_custom_defaults_response" } }, { - "name": "v2_insert_custom_dog", + "name": "insert_custom_dog", "description": "Insert into the custom_dog table", "arguments": { "objects": { @@ -10662,7 +10662,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_custom_dog_object" + "name": "insert_custom_dog_object" } } }, @@ -10676,11 +10676,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_custom_dog_response" + "name": "insert_custom_dog_response" } }, { - "name": "v2_insert_custom_test_cidr", + "name": "insert_custom_test_cidr", "description": "Insert into the custom_test_cidr table", "arguments": { "objects": { @@ -10688,7 +10688,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_custom_test_cidr_object" + "name": "insert_custom_test_cidr_object" } } }, @@ -10702,11 +10702,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_custom_test_cidr_response" + "name": "insert_custom_test_cidr_response" } }, { - "name": "v2_insert_deck_of_cards", + "name": "insert_deck_of_cards", "description": "Insert into the deck_of_cards table", "arguments": { "objects": { @@ -10714,7 +10714,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_deck_of_cards_object" + "name": "insert_deck_of_cards_object" } } }, @@ -10728,11 +10728,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_deck_of_cards_response" + "name": "insert_deck_of_cards_response" } }, { - "name": "v2_insert_discoverable_types_root_occurrence", + "name": "insert_discoverable_types_root_occurrence", "description": "Insert into the discoverable_types_root_occurrence table", "arguments": { "objects": { @@ -10740,7 +10740,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_discoverable_types_root_occurrence_object" + "name": "insert_discoverable_types_root_occurrence_object" } } }, @@ -10754,11 +10754,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_discoverable_types_root_occurrence_response" + "name": "insert_discoverable_types_root_occurrence_response" } }, { - "name": "v2_insert_even_numbers", + "name": "insert_even_numbers", "description": "Insert into the even_numbers table", "arguments": { "objects": { @@ -10766,7 +10766,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_even_numbers_object" + "name": "insert_even_numbers_object" } } }, @@ -10780,11 +10780,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_even_numbers_response" + "name": "insert_even_numbers_response" } }, { - "name": "v2_insert_group_leader", + "name": "insert_group_leader", "description": "Insert into the group_leader table", "arguments": { "objects": { @@ -10792,7 +10792,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_group_leader_object" + "name": "insert_group_leader_object" } } }, @@ -10806,11 +10806,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_group_leader_response" + "name": "insert_group_leader_response" } }, { - "name": "v2_insert_institution_institution", + "name": "insert_institution_institution", "description": "Insert into the institution_institution table", "arguments": { "objects": { @@ -10818,7 +10818,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_institution_institution_object" + "name": "insert_institution_institution_object" } } }, @@ -10832,11 +10832,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_institution_institution_response" + "name": "insert_institution_institution_response" } }, { - "name": "v2_insert_phone_numbers", + "name": "insert_phone_numbers", "description": "Insert into the phone_numbers table", "arguments": { "objects": { @@ -10844,7 +10844,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_phone_numbers_object" + "name": "insert_phone_numbers_object" } } }, @@ -10858,11 +10858,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_phone_numbers_response" + "name": "insert_phone_numbers_response" } }, { - "name": "v2_insert_spatial_ref_sys", + "name": "insert_spatial_ref_sys", "description": "Insert into the spatial_ref_sys table", "arguments": { "objects": { @@ -10870,7 +10870,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_spatial_ref_sys_object" + "name": "insert_spatial_ref_sys_object" } } }, @@ -10884,11 +10884,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_spatial_ref_sys_response" + "name": "insert_spatial_ref_sys_response" } }, { - "name": "v2_insert_topology_layer", + "name": "insert_topology_layer", "description": "Insert into the topology_layer table", "arguments": { "objects": { @@ -10896,7 +10896,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_topology_layer_object" + "name": "insert_topology_layer_object" } } }, @@ -10910,11 +10910,11 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_topology_layer_response" + "name": "insert_topology_layer_response" } }, { - "name": "v2_insert_topology_topology", + "name": "insert_topology_topology", "description": "Insert into the topology_topology table", "arguments": { "objects": { @@ -10922,7 +10922,7 @@ expression: result "type": "array", "element_type": { "type": "named", - "name": "v2_insert_topology_topology_object" + "name": "insert_topology_topology_object" } } }, @@ -10936,7 +10936,7 @@ expression: result }, "result_type": { "type": "named", - "name": "v2_insert_topology_topology_response" + "name": "insert_topology_topology_response" } }, { diff --git a/crates/tests/tests-common/goldenfiles/mutations/v2_insert_Artist_missing_column.json b/crates/tests/tests-common/goldenfiles/mutations/v2_insert_Artist_missing_column.json index 3d33b41a5..49c4c7ae3 100644 --- a/crates/tests/tests-common/goldenfiles/mutations/v2_insert_Artist_missing_column.json +++ b/crates/tests/tests-common/goldenfiles/mutations/v2_insert_Artist_missing_column.json @@ -2,7 +2,7 @@ "operations": [ { "type": "procedure", - "name": "v2_insert_Artist", + "name": "insert_Artist", "arguments": { "objects": [ { diff --git a/crates/tests/tests-common/goldenfiles/mutations/v2_insert_custom_dog.json b/crates/tests/tests-common/goldenfiles/mutations/v2_insert_custom_dog.json index 8c566f5c9..2f82983c1 100644 --- a/crates/tests/tests-common/goldenfiles/mutations/v2_insert_custom_dog.json +++ b/crates/tests/tests-common/goldenfiles/mutations/v2_insert_custom_dog.json @@ -2,7 +2,7 @@ "operations": [ { "type": "procedure", - "name": "v2_insert_custom_dog", + "name": "insert_custom_dog", "arguments": { "objects": [ { @@ -72,7 +72,7 @@ }, { "type": "procedure", - "name": "v2_insert_custom_dog", + "name": "insert_custom_dog", "arguments": { "objects": [ { @@ -123,7 +123,7 @@ }, { "type": "procedure", - "name": "v2_insert_custom_dog", + "name": "insert_custom_dog", "arguments": { "objects": [ { diff --git a/crates/tests/tests-common/goldenfiles/mutations/v2_insert_custom_dog_missing_column.json b/crates/tests/tests-common/goldenfiles/mutations/v2_insert_custom_dog_missing_column.json index e57ba225b..d72f2649a 100644 --- a/crates/tests/tests-common/goldenfiles/mutations/v2_insert_custom_dog_missing_column.json +++ b/crates/tests/tests-common/goldenfiles/mutations/v2_insert_custom_dog_missing_column.json @@ -2,7 +2,7 @@ "operations": [ { "type": "procedure", - "name": "v2_insert_custom_dog", + "name": "insert_custom_dog", "arguments": { "objects": [ { diff --git a/crates/tests/tests-common/goldenfiles/mutations/v2_insert_custom_dog_predicate_fail.json b/crates/tests/tests-common/goldenfiles/mutations/v2_insert_custom_dog_predicate_fail.json index eb42108fe..0e1512352 100644 --- a/crates/tests/tests-common/goldenfiles/mutations/v2_insert_custom_dog_predicate_fail.json +++ b/crates/tests/tests-common/goldenfiles/mutations/v2_insert_custom_dog_predicate_fail.json @@ -3,7 +3,7 @@ "operations": [ { "type": "procedure", - "name": "v2_insert_custom_dog", + "name": "insert_custom_dog", "arguments": { "objects": [ { @@ -67,7 +67,7 @@ }, { "type": "procedure", - "name": "v2_insert_custom_dog", + "name": "insert_custom_dog", "arguments": { "objects": [ { diff --git a/crates/tests/tests-common/goldenfiles/mutations/v2_insert_defaults.json b/crates/tests/tests-common/goldenfiles/mutations/v2_insert_defaults.json index d097dbdba..e3aa03410 100644 --- a/crates/tests/tests-common/goldenfiles/mutations/v2_insert_defaults.json +++ b/crates/tests/tests-common/goldenfiles/mutations/v2_insert_defaults.json @@ -2,7 +2,7 @@ "operations": [ { "type": "procedure", - "name": "v2_insert_custom_defaults", + "name": "insert_custom_defaults", "arguments": { "objects": [{}, {}, {}, {}, {}], "post_check": { diff --git a/crates/tests/tests-common/goldenfiles/mutations/v2_insert_enum.json b/crates/tests/tests-common/goldenfiles/mutations/v2_insert_enum.json index 0cdc9d9a5..4d1633398 100644 --- a/crates/tests/tests-common/goldenfiles/mutations/v2_insert_enum.json +++ b/crates/tests/tests-common/goldenfiles/mutations/v2_insert_enum.json @@ -2,7 +2,7 @@ "operations": [ { "type": "procedure", - "name": "v2_insert_deck_of_cards", + "name": "insert_deck_of_cards", "arguments": { "objects": [ { diff --git a/crates/tests/tests-common/goldenfiles/mutations/v2_insert_enum_invalid_label.json b/crates/tests/tests-common/goldenfiles/mutations/v2_insert_enum_invalid_label.json index 293d34825..9bb817f02 100644 --- a/crates/tests/tests-common/goldenfiles/mutations/v2_insert_enum_invalid_label.json +++ b/crates/tests/tests-common/goldenfiles/mutations/v2_insert_enum_invalid_label.json @@ -2,7 +2,7 @@ "operations": [ { "type": "procedure", - "name": "v2_insert_deck_of_cards", + "name": "insert_deck_of_cards", "arguments": { "objects": [ { diff --git a/crates/tests/tests-common/goldenfiles/mutations/v2_insert_update_custom_dog.json b/crates/tests/tests-common/goldenfiles/mutations/v2_insert_update_custom_dog.json index 8c583ce44..a7a461df3 100644 --- a/crates/tests/tests-common/goldenfiles/mutations/v2_insert_update_custom_dog.json +++ b/crates/tests/tests-common/goldenfiles/mutations/v2_insert_update_custom_dog.json @@ -2,7 +2,7 @@ "operations": [ { "type": "procedure", - "name": "v2_insert_custom_dog", + "name": "insert_custom_dog", "arguments": { "objects": [ { diff --git a/crates/tests/tests-common/goldenfiles/mutations/v2_update_defaults.json b/crates/tests/tests-common/goldenfiles/mutations/v2_update_defaults.json index 5c4b470d6..4f3d0e848 100644 --- a/crates/tests/tests-common/goldenfiles/mutations/v2_update_defaults.json +++ b/crates/tests/tests-common/goldenfiles/mutations/v2_update_defaults.json @@ -2,7 +2,7 @@ "operations": [ { "type": "procedure", - "name": "v2_insert_custom_defaults", + "name": "insert_custom_defaults", "arguments": { "objects": [{}, {}, {}, {}, {}], "post_check": {