Join Slack
Powered by
Hey guys, anyone know what's the easiest way to up...
# prisma-whats-new
v
vincentwong
11/26/2017, 10:33 PM
Hey guys, anyone know what's the easiest way to upload csv data into a table in Graphcool?
m
max
11/26/2017, 10:35 PM
in my react app...I parsed the data locally and uploaded each row individually to gc
v
vincentwong
11/27/2017, 12:17 AM
Hmm, I guess that's the easiest way for now. Thanks.
s
steve
11/27/2017, 2:44 AM
I have a similar need. For this I use a batch mutation query. See
https://dev.graph.cool/docs/faq/graphql-combining-multiple-queries-and-mutations-cahzai2eur/
. I convert csv to json, then I map that json to single mutation with an alias for each json item.
i
iamclaytonray
11/27/2017, 1:01 PM
Are you talking about the Console or the Framework? If you are in local development, you can use a SQL client
Open in Slack
Previous
Next