Need help regaring qry a business network using Hyperledger Composer


(Pratik Agarwal) #1

Hello guys,
I need to query all the transactions from HistorianRecord, only those of which emitted an event, how to achieve this?
In simple lang:
SELECT org.hyperledger.composer.system.HistorianRecord
WHERE (eventsEmitted exists)