TableCallback
The TableCallback type describes a function that takes a Table's Id and a callback to loop over each Row within it.
(
tableId: Id,
forEachRow: (rowCallback: RowCallback) => void,
): void| Type | Description | |
|---|---|---|
tableId | Id | |
forEachRow | (rowCallback: RowCallback) => void | A function that will let you iterate over the |
| returns | void | This has no return value. |
A TableCallback is provided when using the forEachTable method, so that you can do something based on every Table in the Store. See that method for specific examples.
Since
v1.0.0