Closed Hitmanv closed 6 years ago
Depending on your source code and actual usage, a table will only be created when it's being used.
Not totaly sure but shouldn't this line: typedef multi_index<N(t), t> tests;
Change to: typedef multi_index<N(tests), t> tests;
The multi_index key needs to match the abi definition
we recommend to be typedef multi_index<N(t), t> tests;
. In this case your table name is t
.
that's it. thank you all!
it is returning value that we stored in hi method manually. How to retrieve complete record by giving an id or name?
kindly help me to solve it?
but I can read it from contract i'm using the local test net i deployed the contract
and the query
or in eosjs
the contract code looks like this