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: