Hi, arangoimport has an option *--create-collection-type* that you can use to instruct it to create an edge collection:
arangoimport --file git-commits-single-line.json --collection commits --create-collection --create-collection-type edge Also see: - https://www.arangodb.com/docs/stable/programs-arangoimport-options.html - https://www.arangodb.com/docs/stable/programs-arangoimport-examples-json.html#import-example-and-common-options On Tuesday, June 1, 2021 at 12:04:43 PM UTC+2 [email protected] wrote: > arangoimp --file git-commits-single-line.json --collection commits > --create-collection true > This line above that is used to import file json to collection but type of > it is document. So i want to know that how can i do to get type is EDGE in > arangoDB. Can you all help me? thanks all > -- You received this message because you are subscribed to the Google Groups "ArangoDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/arangodb/9b2bd01e-5054-4802-939e-0549b2ecdab1n%40googlegroups.com.
