I just started to try Dgraph Cloud and immediate I was confused about importing data at scale. I was able to launch a backend, define a schema, and add a couple of records via mutation through the web UI. But I couldn’t find a clear step-by-step tutorial of importing some data into the cloud backend. Here is a list of my questions, and thank you in advance.
what’s the difference between the CLI tool ‘slash-graphql’ and ‘dgraph’? Is slash-graphql a dedicated tool for Dgraph Cloud and the dgraph is more generic tool for self-deployed version? How to config user credentials on whichever tool that is better interacting with the cloud?
I found something about importing data with slash-graphql here. Something like
$ slash-graphql import-data -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> ./import-directoryWhat format of data is expected in this “import-directory”? What’s the difference between this one and the
dgraph liveway of importing data?
dgraph liveneeds to know Dgraph Alpha and Dgraph Zero addresses. How do we find out the addresses in Dgraph Cloud Web UI? I also saw it requires the ‘.schema’ file. Is this file the same as the ‘.graphql’ file that we can download from the Web UI?
Hope to get answers soon so I can keep exploring. Dgraph seems to be a great option for Graph DB.
Thanks a lot!