This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git
The following commit(s) were added to refs/heads/master by this push:
new 97de38e To document the availability of ?n=* in PUT /{db}
97de38e is described below
commit 97de38ec2db33e65a651c8c96a2b63435033e1ab
Author: dynamite-ready <[email protected]>
AuthorDate: Mon Sep 24 15:00:16 2018 +0100
To document the availability of ?n=* in PUT /{db}
To document the availability of the `n=*` query parameter in the `PUT
/{db}` REST method.
---
src/api/database/common.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/api/database/common.rst b/src/api/database/common.rst
index 74b968d..7667a65 100644
--- a/src/api/database/common.rst
+++ b/src/api/database/common.rst
@@ -154,6 +154,7 @@
:param db: Database name
:query integer q: Shards, aka the number of range partitions. Default is
8, unless overridden in the :config:option:`cluster config <cluster/q>`.
+ :query integer n: Replicas. The number of copies of the database in the
cluster. The default is 3, unless overridden in the :config:option:`cluster
config <cluster/n>` .
:<header Accept: - :mimetype:`application/json`
- :mimetype:`text/plain`
:>header Content-Type: - :mimetype:`application/json`