How to insert multiple objects using has many? #3505
Answered
by
marcelodelta
marcelodelta
asked this question in
Help
-
How can I register multiple objects from an array related to has many? Thanks for listening items
Controller
|
Beta Was this translation helpful? Give feedback.
Answered by
marcelodelta
Jan 21, 2022
Replies: 1 comment
-
Resolved with await dataNfe.related('items').createMany(items) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
marcelodelta
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Resolved with await dataNfe.related('items').createMany(items)