[EOSIO/eos] how to return multi_index secondary index iterator as function return value in contract? (#5310)

you can refer to producer_pay.cpp:
«`
name_bid_table bids(_self,_self);
auto idx = bids.get_index();
auto highest = idx.begin();
if( highest != idx.end()….
«`