Support inserting many nested active models #2984
raffomania
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm inserting a graph with many nodes and edges into the database. Here's my current approach:
Now I would like to refactor the code to use nested active models. Here's how that could work:
I'd need something like an
Entity::insert_many_active_model_exfunction that creates a model tree with multiple root models.Beta Was this translation helpful? Give feedback.
All reactions