Closed dimas1185 closed 4 years ago
there few places 'index_by' is mentioned. correct struct name is 'indexed_by' as in this code:
typedef eosio::multi_index<"people"_n, person, indexed_by<"byage"_n, const_mem_fun<person, uint64_t, &person::get_secondary_1>>> address_index;
https://developers.eos.io/welcome/v2.0/getting-started/smart-contract-development/secondary-indices
hi @dimas1185 @bobgt this has been fixed. could you double check?
looks good!
there few places 'index_by' is mentioned. correct struct name is 'indexed_by' as in this code:
typedef eosio::multi_index<"people"_n, person, indexed_by<"byage"_n, const_mem_fun<person, uint64_t, &person::get_secondary_1>>> address_index;
https://developers.eos.io/welcome/v2.0/getting-started/smart-contract-development/secondary-indices