Skip to content
This repository was archived by the owner on Oct 17, 2022. It is now read-only.

Commit 733a0ef

Browse files
flimzynickva
authored andcommitted
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
1 parent 0ecca85 commit 733a0ef

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/api/ddoc/common.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ The response from :get:`/{db}/_design/{ddoc}/_info` contains
206206
* **language** (*string*): Language for the defined views
207207
* **purge_seq** (*number*): The purge sequence that has been processed
208208
* **signature** (*string*): MD5 signature of the views for the design document
209-
* **update_seq** (*number*): The update sequence of the corresponding database
210-
that has been indexed
209+
* **update_seq** (*number* / *string*): The update sequence of the corresponding
210+
database that has been indexed
211211
* **updater_running** (*boolean*): Indicates if the view is currently
212212
being updated
213213
* **waiting_clients** (*number*): Number of clients waiting on views from

src/api/ddoc/views.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
:>json array rows: Array of view row objects. By default the information
100100
returned contains only the document ID and revision
101101
:>json number total_rows: Number of documents in the database/view
102-
:>json number update_seq: Current update sequence for the database
102+
:>json object update_seq: Current update sequence for the database
103103

104104
:code 200: Request completed successfully
105105
:code 400: Invalid request

src/json-structure.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ CouchDB database information object
141141
| purge_seq | The number of purge operations on the |
142142
| | database. |
143143
+----------------------+----------------------------------------------+
144-
| update_seq | The current number of updates made in the |
145-
| | database. |
144+
| update_seq | Current update sequence for the database. |
146145
+----------------------+----------------------------------------------+
147146

148147
Design Document

0 commit comments

Comments
 (0)