couchdb - import json file to couch db- -
If I have a Jason file that looks something like this:
{ "name "" Bob "," Hello "," Hello "}, {" name ":" Hello "," Hello ":" buy "} Does anyone importing it Kocdb Is the option?
Millhaus is triggered from the north, but I used my file with multiple docs < / P>
cat myFile.json | Lwp-request -m POST -sS "http: // localhost / dbname / _bulk_docs" -c "application / json" Post is a nickname LW-request but does not work on POST Debian If you lwp- request then use, like the above you -m There is a need to set the method with .
The following _bulk_docs can be uploaded multiple documents at one time.
Comments
Post a Comment