ReadonlyabiReadonlyaccountReadonlyclientReadonlydebugOptionaldefaultReadonlynameOptional ReadonlyrowReadonlytableReturns all the rows from the table.
Promise resolving to an array of table rows.
Retrieves all the rows from the table.
The maximum number of rows to return.
Promise resolving to a TableCursor of the table rows.
Retrieves the row from the table that matches the given parameters.
Optionalvalue: string | TableIndexType
The value to match against the index.
Promise resolving to a single table row.
Retrieves the rows from the table that match the given parameters.
Promise resolving to a TableCursor of the filtered table rows.
StaticfromCreates a new Table instance from the given parameters.
Parameters for the table. The parameters should include:
contract: Name of the contract that this table is associated with.name: Name of the table.client: Client object to interact with the network.rowType: (optional) Custom row type.fieldToIndex: (optional) Mapping of fields to their indices.A new Table instance.
Represents a table in a smart contract. Provides methods for querying rows in the table.
Typeparam
TableRow The type of rows in the table.