couchdb-bulk2
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -59,4 +59,5 @@ #!/usr/bin/env node | ||
this.pause() | ||
await bulkPost(batch) | ||
const batchToPost = batch | ||
batch = [] | ||
await bulkPost(batchToPost) | ||
this.resume() | ||
@@ -63,0 +64,0 @@ } catch (err) { |
{ | ||
"name": "couchdb-bulk2", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "Pipe newline-delimited JSON into CouchDB", | ||
@@ -5,0 +5,0 @@ "main": "cli.js", |
@@ -50,2 +50,2 @@ # couchdb-bulk2 | ||
## See also | ||
* [`couchdb-bulk2`] works great in combinaison with [`ndjson-apply`](https://github.com/maxlath/ndjson-apply): see [data transformation workflow in the Inventaire project](https://github.com/inventaire/inventaire/blob/master/docs/data_transformation.md#data-transformation) | ||
* `couchdb-bulk2` works great in combinaison with [`ndjson-apply`](https://github.com/maxlath/ndjson-apply): see [data transformation workflow in the Inventaire project](https://github.com/inventaire/inventaire/blob/master/docs/data_transformation.md#data-transformation) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6532
81