Skip to content

How to insert multiple objects using has many? #3505

Answered by marcelodelta
marcelodelta asked this question in Help
Discussion options

You must be logged in to vote

Resolved with await dataNfe.related('items').createMany(items)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marcelodelta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant