You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2017/03/16 03:15:33 UTC
[couchdb-documentation] branch master updated: Update references to
`update_seq` to no longer claim it's always a number.
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 733a0ef Update references to `update_seq` to no longer claim it's always a number.
733a0ef is described below
commit 733a0efefce1dffb3bcee35550220dfda368f67a
Author: Jonathan Hall <fl...@flimzy.com>
AuthorDate: Sat Mar 4 11:31:58 2017 +0100
Update references to `update_seq` to no longer claim it's always a number.
In response to the CouchDB 2.0 changes detailed here: http://docs.couchdb.org/en/master/whatsnew/2.0.html#upgrade-notes
---
src/api/ddoc/common.rst | 4 ++--
src/api/ddoc/views.rst | 2 +-
src/json-structure.rst | 3 +--
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/api/ddoc/common.rst b/src/api/ddoc/common.rst
index 0bcb49a..22727c6 100644
--- a/src/api/ddoc/common.rst
+++ b/src/api/ddoc/common.rst
@@ -206,8 +206,8 @@ The response from :get:`/{db}/_design/{ddoc}/_info` contains
* **language** (*string*): Language for the defined views
* **purge_seq** (*number*): The purge sequence that has been processed
* **signature** (*string*): MD5 signature of the views for the design document
-* **update_seq** (*number*): The update sequence of the corresponding database
- that has been indexed
+* **update_seq** (*number* / *string*): The update sequence of the corresponding
+ database that has been indexed
* **updater_running** (*boolean*): Indicates if the view is currently
being updated
* **waiting_clients** (*number*): Number of clients waiting on views from
diff --git a/src/api/ddoc/views.rst b/src/api/ddoc/views.rst
index bd217b8..98de8f8 100644
--- a/src/api/ddoc/views.rst
+++ b/src/api/ddoc/views.rst
@@ -99,7 +99,7 @@
:>json array rows: Array of view row objects. By default the information
returned contains only the document ID and revision
:>json number total_rows: Number of documents in the database/view
- :>json number update_seq: Current update sequence for the database
+ :>json object update_seq: Current update sequence for the database
:code 200: Request completed successfully
:code 400: Invalid request
diff --git a/src/json-structure.rst b/src/json-structure.rst
index 5665486..89fddea 100644
--- a/src/json-structure.rst
+++ b/src/json-structure.rst
@@ -141,8 +141,7 @@ CouchDB database information object
| purge_seq | The number of purge operations on the |
| | database. |
+----------------------+----------------------------------------------+
-| update_seq | The current number of updates made in the |
-| | database. |
+| update_seq | Current update sequence for the database. |
+----------------------+----------------------------------------------+
Design Document
--
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].