couchdb-push icon indicating copy to clipboard operation
couchdb-push copied to clipboard

Support _bulk_docs format support

Open tlvince opened this issue 10 years ago • 1 comments

Sometimes its more convenient to group documents as one JSON file in bulk docs format, e.g.:

{
  "docs": [
    {
      "_id": "london",
      "name": "London"
    },
    {
      "_id": "berlin",
      "name": "Berlin"
    }
  ]
}

Currently couchdb-{compile,push} operate at a per-document level, which can become unwieldy in some scenarios, for example DB seeding.

tlvince avatar Oct 29 '15 12:10 tlvince

The internal format might be best ewline-delimited JSON.

jo avatar Dec 10 '15 13:12 jo