Re: Chaincode nodejs getStateByPartialCompositeKey


David Enyeart
 

Yes, see the getStateByPartialCompositeKey sample here:
https://github.com/hyperledger/fabric-samples/blob/release-1.4/chaincode/marbles02/node/marbles_chaincode.js#L243-L295


Dave Enyeart

"Kimheng SOK" ---01/13/2020 12:27:00 PM---Dear all, Is there any documentation example of how to use

From: "Kimheng SOK" <sok.kimheng@...>
To: hyperledger-fabric@...
Date: 01/13/2020 12:27 PM
Subject: [EXTERNAL] [Hyperledger Fabric] Chaincode nodejs getStateByPartialCompositeKey
Sent by: fabric@...





Dear all,

Is there any documentation example of how to use getStateByPartialCompositeKey in nodejs chaincode to query the data from the object list and iterate through it to view all the result. 

Thank for help.

Bests,



Join fabric@lists.hyperledger.org to automatically receive all group messages.