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.

table_key must be removed from code and docs #652

@cc32d9

Description

@cc32d9

in eosjs 20.x and 21.x, get_table_rows uses table_key argument, and it's described in the documentation as secondary key name, presumably usable instead of index_position.

In fact, chain_plugin does not recognize table_key, so the examples don't work, as you can see in several bug reports.

Either table_key needs to be removed from eosjs completely, or eosjs needs an additional lookup to get the index names and then pass the corresponding index_position in get_table_rows.

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