meaning of multi_index's constructor
what is the exact meaning of the code and scope as the arguments of multi_index's constructor. Is the owner the creater of the table which is also the account which the contract is set to? what is scope for? Please inform me, thx
Does Multi-Index Constructor help?
@spartucus i do not understand the purpose of scope. is the scope to divide the table into several subtable? can scope be any domain even not a member of the class underlying the multi_index table.
will the available primary keys in different scope collide with each other? if i want to move one item from one scope to the other, do i need to reassign the primary key value with available primary key?
the tuple (code, scope, table name) is the unique identifier for the table. Code is the owner(contract account name) of the table who has permission to create/modify/delete the table. Scope can be anything of type uint64_t.