Questions tagged [get-table]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Strange error in get_table_rows

I'm getting a strange error when trying to get_table_rows... <script src='/wp-content/themes/oceanwp/assets/beta3/eosjs-api.js'></script> <script src='/wp-content/themes/oceanwp/...
0
votes
1answer
25 views

Wrong table name in scope response

My contract has two tables mcat and mcatmig. Problem: scope request return wrong table name mcat........1 instead of mcatmig: % cleos get scope teresacode { "rows": [{ "code": "teresacode", "...
1
vote
1answer
32 views

cleos data getting inserted and deleted but table shows empty record

I have written one smart contract for insert, update and delete data. The smart contract is compiled and deployed to the two accounts. I insert data using calling the action upsert, this transaction ...
0
votes
1answer
53 views

How do I lookup multiple entries by same secondary indices with more than limit entries?

I have a table with a lot of entries. I want to iterate through all the rows by the same secondary index on multiple pages. TABLE post { uint64_t id; name author; string text;...
1
vote
1answer
47 views

Error querying RAM: Unable to unpack built-in type etc

Hey guys I'm hitting an error while trying to query my RAM tables - the table definition has vectors of custom structs in it, and for some reason throws an error regardless of the datatype in the ...
0
votes
1answer
70 views

How do I access (sha256) / sort (i128) a secondary/tertiary indices with cleos / curl?

I'm trying to access either of our additional indices of the accountext table. I'm able to access the 3rd index but I'm not sure how to sort it, the second index returns an empty table: // this I ...
1
vote
0answers
32 views

Fetching More Table Rows via RPC

I have a contract with a table in it. I'm querying the contents of the table using the RPC interface, but I'm having trouble getting all the rows. To limit the memory usage of my application, I'm ...
1
vote
1answer
138 views

Retrieve data from multi index table

I found that it is possible to define up to 16 secondary indices for a multi index table. Is it possible to return data from the table using these secondary key? I have a table like, result is set as ...