Join Slack
Communities
Powered by
is it possible to execute a "bulk delete" via a mu...
# prisma-whats-new
r
radicand
01/03/2018, 12:59 PM
is it possible to execute a "bulk delete" via a mutation (e.g., pass in an array of IDs)?
s
steve
01/03/2018, 1:30 PM
This is available on the developer preview:
https://github.com/graphcool/framework/pull/1318
as
deleteMany
.
steve
01/03/2018, 1:32 PM
Right now I use a custom resolver that does bulk deletes though - you might give that a try in the interim. Check this out as well:
https://www.graph.cool/forum/t/deleting-associated-nodes-in-a-one-to-many-relationship/551/3
r
radicand
01/03/2018, 1:47 PM
thanks!
2
Views
Open in Slack
Previous
Next