Skip to content
Discussion options

You must be logged in to vote

@StewartLynch If this is a dynamic form, where relations/rows may not be inserted yet, @FetchAll and @FetchOne may not be appropriate for loading the editable data. Instead, you can manually load the data into draft structures and then in a save action you can manually write back to the database.

While not exactly your situation, the reminders form is a good example of creating/updating a reminder using a draft, and then batching the write in a single transaction so that tags can be written with the foreign key.

Let us know if you have any questions, though!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by StewartLynch
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants