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