1
0
Fork 0

Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel

This commit is contained in:
Willi Goesgens 2014-11-11 13:13:58 +01:00
commit 93130d494c
1 changed files with 12 additions and 2 deletions

View File

@ -39,7 +39,17 @@ option *--progress* can be added. This option will show the percentage of the
input file that has been sent to the server. This will only be useful for big
import files.
unix> arangoimp --file "data.json" --type json --collection "users" --progress true
unix> arangoimp --file "data.json" --type json --collection users --progress true
It is also possible to use the output of another command as an input for arangoimp.
For example, the following shell command can be used to pipe data from the `cat`
process to arangoimp:
unix> cat data.json | arangoimp --file - --type json --collection users
Note that you have to use `--file -` if you want to use another command as input
for arangoimp. No progress can be reported for such imports as the size of the input
will be unknown to arangoimp.
By default, the endpoint *tcp://127.0.0.1:8529* will be used. If you want to
specify a different endpoint, you can use the *--server.endpoint* option. You