EOSIO / welcome

Documentation that covers EOSIO Overview, Getting Started and Protocol documents
38 stars 54 forks source link

[docs] typo in 2.5: Secondary Indices #210

Closed dimas1185 closed 4 years ago

dimas1185 commented 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

dixia commented 4 years ago

hi @dimas1185 @bobgt this has been fixed. could you double check?

dimas1185 commented 4 years ago

looks good!