<@U0RQY0KK5> How can i insert Many records(ex. JSO...
# prisma-whats-new
s
@nilan How can i insert Many records(ex. JSON array) using single Mutation ??
c
Is this for graphcool or prisma?
s
prisma
@callmekatootie Have you got my quetion ?
c
I have. But I don't know the answer to it
I am thinking you have to send multiple mutations or check with the front end client that you are using if it supports multiple mutations
but I am not sure about that
n
Hey @Sohel Khan that's a great question for the Forum: https://www.graph.cool/forum/c/questions 🙂 you might want to use the search there first
s
@nilan i haven't found any related issues there as i facing...my issue is different
n
I see! 🙂 Then starting a new discussion in the Forum seems like the best way forward
s
mutation insertPosition{ createPosition1(data:[ { lat:4324 lan:24324 userInfo:{ connect:{ id:"cjezl4o1h22hm0925fgt9ry2n" } } }, { lat:3232 lan:3535 userInfo:{ connect:{ id:"cjezl4o1h22hm0925fgt9ry2n" } } } ] ){ id } }
Actually, i want to execute this mutation
""createPosition1(data: [PositionCreateInput]): [Position]"" ....and this is Schema for above mutation