Skip to content

Commit 8b87d88

Browse files
author
Chris Elder
committedJun 10, 2018
[FAB-10571] Documentation for CouchDB field names
Ledger removed the "data" wrapper when using CouchDB as the state database. This change means that documents in the state database must meet CouchDB's restrictions for top level field names. The documentation is being updated to clarify that the following field names cannot be used at the top level: - Any field beginning with an underscore, "_" - ~version Change-Id: Ie2db9590e6eae81bca07974c720ea97493486366 Signed-off-by: Chris Elder <chris.elder@us.ibm.com>
1 parent af6974e commit 8b87d88

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎docs/source/couchdb_as_state_database.rst

+1-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ complex rich queries if needed in the future.
4040
.. note:: A JSON document cannot use the following field names at the top level.
4141
These are reserved for internal use.
4242

43-
- ``_deleted``
44-
- ``_id``
45-
- ``_rev``
43+
- ``Any field beginning with an underscore, "_"``
4644
- ``~version``
4745

4846
Using CouchDB from Chaincode

0 commit comments

Comments
 (0)
Please sign in to comment.