I am using the Hyperledger fabric V0.6 service in IBM-bluemix and deployed my go language chaincode to the peer as provided in the bluemix documentation.
Since I am very new to this implementation, I could find only the PutState and GetState methods there in ChaincodeStubInterface.
But my requirement is to query the states for a period of time.
eg:
11-Feb-2017 10:00:00 : created Asset1
11-Feb-2017 12:00:00 : created Asset2
12-Feb-2017 10:00:00 : Modified Asset1
13-Feb-2017 13:00:00 : Created Asset3
....
15-Feb-2017 14:00:00 : Created AssetN
Now I want to query the states for the range 12-Feb-2017 00:00:00 to current timestamp. I have gone through lots of documentations but I didn't find any solution for this.
How can I get this data? Thanks in advance.