Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

enhancement: Add table length to multi index api. #5543

@ghost

Description

this would be very handy to do pagination on the frontend/cleos without relying on offchain databases like demux.
We now only know that there are "more" entries when reading long tables. It would be nice to have a number here!
For example if I have a table of length 100 and I request the table with limit 10, it would make sense that there is a key in the results holding the value 90 {more: 90}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions