Can we write queries in Multichain like select * from Stream1.key1 where key1.value = “xyz”

+1 vote
Can we write queries in Multichain to retrieve conditional data from streams e.g. select * from  Stream1.key1 where key1.value = “xyz”
asked Feb 23, 2019 by Amol

1 Answer

+1 vote

You have many different ways of slicing and dicing stream items, but it does not support SQL. I'm not example sure what you want to do with this query, but maybe liststreamkeyitems is what you're looking for? See the 'Querying subscribed streams' section on this page:

answered Feb 24, 2019 by MultiChain