Ottoman query based on attribute of object reference

Hey lichadexun,

Currently you would need to do 3 finds in Ottoman. It is however possible that there is a solution to this in pure N1QL. You may wish to post in the N1QL forums. Additionally, unfortunately we do not currently have promises support in Ottoman, though we plan to add it soon!

Cheers, Brett