Create nested relations using `createMany()` and `createMany`
As per my understanding `await prisma.accoutns.createMany()` works only on a single entity and not on sub-entities. hence i tried to use create along with createMany as mentioned in this ticket. https://github.com/prisma/prisma/issues/4998 but currently it is not working at sub levels as well which is an issue for example.  What i am expecting is i should be able to efficiently create multiple entities with children entities at N level like we could currently do with `.create({})` but it is highly inefficient.
Posted by yousufhasan on Feb 3, 2021, 11:53 PM
Tags
Related issues
- [Meta] Feedback on granular control over Copilot changes
- unexpected status 401 Unauthorized issue
- [MODEL] Measurable quality regression in Claude generation 5 (Fable 5 / Opus 5 / Sonnet 5): worse nonsense detection, ~2x verbosity, under-disclosed model fallb
- [CRITICAL] Subagent spawning and subagent pattern bugs trigger infinite recursion, infinite token usage, grossly inefficient token usage, and lost accumulated s
- Video stops playing after some minutes
- [MODEL] Claude verbose code comments by default — ignores instructions to stop.
Raise real-world problems, find people facing the same issue, and discuss solutions.3,000 issues0 comments
github (Software)
[Meta] Feedback on granular control over Copilot changes
unexpected status 401 Unauthorized issue
[MODEL] Measurable quality regression in Claude generation 5 (Fable 5 / Opus 5 / Sonnet 5): worse nonsense detection, ~2x verbosity, under-disclosed model fallb
[CRITICAL] Subagent spawning and subagent pattern bugs trigger infinite recursion, infinite token usage, grossly inefficient token usage, and lost accumulated s
Video stops playing after some minutes
[MODEL] Claude verbose code comments by default — ignores instructions to stop.
Scope Codex VS Code chats to the current workspace/project
Update on "Co-authored-by: Copilot" in commit messages
Create nested relations using `createMany()` and `createMany`
As per my understanding `await prisma.accoutns.createMany()` works only on a single entity and not on sub-entities. hence i tried to use create along with createMany as mentioned in this ticket. https://github.com/prisma/prisma/issues/4998 but currently it is not working at sub levels as well which is an issue for example.  What i am expecting is i should be able to efficiently create multiple entities with children entities at N level like we could currently do with `.create({})` but it is highly inefficient.
Comments (0)
No comments yet. Start the discussion.