what about when i have multiple types for example person is one type, address details in one type how can we create edge using csv loader.
small sample will help. struggling with the docs
Just to be clear, we don’t have a CSV loader. Dgraph supports JSON and RDF formats for loading. Maybe this thread will get you moving in the right direction: CSV importer or CSV converter to RDF - How to?
There is no generic solution to your problem. You’ll have to transform the raw data into something that can be imported logically.
I recommend that you take the tour https://dgraph.io/tour/… either the GraphQL path or the DQL path, whichever suits your needs. The DQL path takes you thru the import of millions of records.