-
Notifications
You must be signed in to change notification settings - Fork 1.1k
chore: added cascade delete sections in Has One and Has Many data mod… #8189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -439,6 +439,29 @@ do { | |||||||
|
||||||||
</InlineFilter> | ||||||||
|
||||||||
### Handling orphaned foreign keys on parent record deletion in "Has Many" relationship | ||||||||
|
||||||||
<InlineFilter filters={["javascript", "angular", "react-native", "react", "nextjs", "vue"]}> | ||||||||
|
||||||||
```ts | ||||||||
// Get the IDs of the related members. | ||||||||
const { data: teamWithMembers } = await client.models.Team.get( | ||||||||
{ id: teamId}, | ||||||||
|
{ id: teamId}, | |
{ id: teamId }, |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure will Update it and notify the mobile teams to add similar sections in swift, dart and android.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
### Handling orphaned foreign keys on parent record deletion in "Has One" relationship | |
### Handling orphaned foreign keys on parent record deletion in "Has One" relationship |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will show an empty section for mobile platforms, can we move the heading inside the filter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure will Update it and notify the mobile teams to add similar sections in swift, dart and android.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds good! once mobile teams add snippets we can share this section's heading