Get key summary for composite(multiple) keys

+2 votes
Hi all,

Was trying out "liststreamqueryitems" method to query for composite keys. The method returns all the possible values for the associated composite key. What I am interested in, is to get the latest value for the composite key.

What I am looking for is possible using "getstreamkeysummary" method which outputs the latest value for a given key. But it doesn't work with composite(multiple) keys.
asked Sep 10, 2019 by sundar

1 Answer

0 votes
 
Best answer

I'm afraid we don't yet have a getstreamquerysummary API that would do what you like. So for now I'm afraid you need to use liststreamqueryitems and build the composite result on the application side.

answered Sep 10, 2019 by MultiChain
...