How to find whether the transaction already exist for particular asset and participant in hyperledger composer?
问题 Participant IDFC Participant TATA , MRF Asset FINANCEPROGRAM Transaction (Data need to submit) participant(TATA) ,Asset (FINANCEPROGRAM ) ,loanAmount , loantenure I need to check whether the transaction for FINANCEPROGRAM and TATA are already exist. If so exist i need to reject the transaction. var query1 = query('SELECT com.ett.blockchain.Programmeben WHERE (beneficiary == _$beneficiary AND bankprogramme == _$bank program) '); return query('query1',{beneficiary : 'resource:com.ett.blockchain