[EOSIO/eos] support secondary key in get table without the need of modifying abi file (#4053)

this is my struct , if i want search by name or phone,how to get it

struct chaninfo {
uint64_t channelId;
string name;
string phone;

}
uint64_t primary_key() const { return channelId; }

EOSLIB_SERIALIZE(chaninfo, (channelId)(name)(phone); };

Добавить комментарий