Is there a way to specify more than one key when searching?

+1 vote
Say i wanted to get the items where type ="book" and author="JK Rowling"?
related to an answer for: Can you search stream items' content?
asked May 15, 2018 by maracujah

1 Answer

0 votes

Unfortunately it's not currently possible to search for the intersection of two keys using liststreamkeyitems. Your workaround for now is to search for the key which has fewer items, then iterate through the response checking for the presence of the other key.

answered May 16, 2018 by MultiChain
...