From cb201703a5acb357b1ee38fe0fa2b812ab320850 Mon Sep 17 00:00:00 2001 From: Yuta Namiki Date: Mon, 5 Feb 2018 10:37:34 +0900 Subject: [PATCH] [FAB-8055] Document: Wrong Function Name Referred The marbles02 sample has no function named getMarblesByOwner(). This patch corrects the name. Change-Id: I1dd89cdd5f814d1b5173ef59a8272b5080133ab1 Signed-off-by: Yuta Namiki --- docs/source/couchdb_as_state_database.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/couchdb_as_state_database.rst b/docs/source/couchdb_as_state_database.rst index bbf12687d4f..a9c52714542 100644 --- a/docs/source/couchdb_as_state_database.rst +++ b/docs/source/couchdb_as_state_database.rst @@ -48,7 +48,7 @@ the JSON in the state database by using the ``GetQueryResult`` API and passing a The query string follows the `CouchDB JSON query syntax `__. The `marbles02 fabric sample `__ -demonstrates use of CouchDB queries from chaincode. It includes a ``getMarblesByOwner()`` function +demonstrates use of CouchDB queries from chaincode. It includes a ``queryMarblesByOwner()`` function that demonstrates parameterized queries by passing an owner id into chaincode. It then queries the state data for JSON documents matching the docType of “marble” and the owner id using the JSON query syntax: