From f84bd94f8759ffc511454b61e4748bcad02f15d3 Mon Sep 17 00:00:00 2001 From: Tejas Khanolkar Date: Thu, 9 Jan 2025 15:47:58 -0800 Subject: [PATCH] nit fix --- .../build-a-backend/data/data-modeling/relationships/index.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/[platform]/build-a-backend/data/data-modeling/relationships/index.mdx b/src/pages/[platform]/build-a-backend/data/data-modeling/relationships/index.mdx index 35b02122a22..f36b8f92d7d 100644 --- a/src/pages/[platform]/build-a-backend/data/data-modeling/relationships/index.mdx +++ b/src/pages/[platform]/build-a-backend/data/data-modeling/relationships/index.mdx @@ -446,7 +446,7 @@ do { ```ts // Get the IDs of the related members. const { data: teamWithMembers } = await client.models.Team.get( - { id: teamId}, + { id: teamId }, { selectionSet: ["id", "members.*"] }, ); @@ -818,6 +818,7 @@ val cart = Amplify.API.query( + ### Handling orphaned foreign keys on parent record deletion in "Has One" relationship ```ts