COMMAND SECTION "DATE" "" "ArangoDB" NAME COMMAND - a bulk importer for the ArangoDB database SYNOPSIS COMMAND [options] DESCRIPTION The COMMAND binary can be used to bulk import data from a file into the ArangoDB database. Input data be present in the input file in either CSV format with column headlines, or in JSON format. If JSON format is used, each line in the input file must contain exactly one JSON document with the attribute name/value pairs to import. OPTIONS For a complete list of options, please refer to the ArangoDB online manual, available at http://www.arangodb.org/ The most important startup options are: OPTION "--batch-size " maximum size of data batches that are sent to the server ENDOPTION OPTION "--configuration " read configuration from file ENDOPTION OPTION "--collection " name of collection to import into ENDOPTION OPTION "--create-collection " set to "true" if collection should be created by the import ENDOPTION OPTION "--file " input file with the data to import ENDOPTION OPTION "--overwrite " set to "true" to remove all data from the collection prior to the import ENDOPTION OPTION "--quote " optional quote character to be used ENDOPTION OPTION "--separator " separator character or string to be used. the default value is "," ENDOPTION OPTION "--type " set to "json", "tsv" or "csv", depending on the input file format ENDOPTION OPTION "--server.endpoint " server endpoint to connect to, consisting of protocol, ip address and port ENDOPTION OPTION "--server.database " database name to use when connection (default: "_system") ENDOPTION OPTION "--server.username " username to use when connecting (default "root") ENDOPTION OPTION "--server.password " password to use when connecting. Don't specify this option to get a password prompt ENDOPTION OPTION "--server.disable-authentication " disable the password prompt and authentication when connecting to the server ENDOPTION EXAMPLES EXAMPLE COMMAND --file heroes.json --type json --collection superheroes --create-collection true imports JSON data from file heroes.json into collection superhoeres. creates the collection if it does not exist ENDEXAMPLE EXAMPLE COMMAND --file export.csv --type csv --collection mydata imports CSV data from export.csv into existing collection mydata ENDEXAMPLE EXAMPLE COMMAND --file values.json --collection mydata --server.endpoint tcp://127.0.0.1:8529 --server.database mydb imports JSON data from file values.json into collection mydata, using a different server endpoint and database ENDEXAMPLE AUTHOR