Questions tagged [get-table]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
25 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
33 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
59 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 ...
0
votes
0answers
31 views

Fetching Rows from Table using Secondary Index with Duplicate Values

If I have a table in a smart contract with a secondary (non-unique) index, and I am retrieving the rows in this table via the RPC get_table_rows endpoint, how can I retrieve all the rows in the table ...
1
vote
0answers
26 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 ...
0
votes
0answers
74 views

how can I get sorted table rows by using getTableRows()?

my contract: user.hpp: struct [[eosio::table]] user{//[[eosio::table]] // uint64_t id; // string username; // uint64_t id; //rank ...
1
vote
1answer
122 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 ...