You set get_first_receiver() as the scope of member_index. If this action is not sent by other contract, first_receiver will be the account where the contract is deployed. [[eosio::action]] void upsert(name user, std::string first_name, std::string last_name, std::string contact, std::string address) { require_auth( user ); // 2nd argument here is the ...


If your multi_index table has multiple indices by using indexed_by, additional index will be shown like ORIGINAL_TABLE_NAME........1. The last character will use remaining last 4 bits in eosio::name. This is why additional indices can exist up to 16. (4 bits, 0 - 15 will be translated into ., 1-5, a-j) If you show the struct declarations and typedefs of ...


I'm unaware of a way to not return certain rows, however I believe you can achieve similar results with something like this: uint64_t get_secondary_1() const { return result == "pass";} This will return your data with all the students who passed first, followed by those who didn't. So once you see the first failer, you can stop reading from the table.

Only top voted, non community-wiki answers of a minimum length are eligible