Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 15
8 votes
Accepted

Delete all multi_index records without iterator?

//@abi table testindex1 i64 struct teststruct { uint64_t id; account_name owner; auto primary_key() const { return id; } EOSLIB_SERIALIZE( limit_order, ( id )( owner ) ) }; typedef multi_index …
tmm's user avatar
  • 2,114
1 vote
Accepted

Erasing records with for loops

The problem with erasing in a for loop is that you are editing the structure you are iterating over. This is not an EOS specific error. Your first for loop creates one iterator and tries to run over …
tmm's user avatar
  • 2,114
7 votes
Accepted

Can we add the permission to access the table?

You can not forbid reading the data from a smart contracts table, because it is exposed by the RPC interface or CLI. …
tmm's user avatar
  • 2,114