> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: TransitionReader<DataModel>

> Reference for the TransitionReader interface in bijection/server.

[server](https://docs.bijection.com/api/modules/server).TransitionReader

## Type parameters

| Name | Type |
| :- | :- |
| `DataModel` | extends [`GenericDataModel`](https://docs.bijection.com/api/modules/server#genericdatamodel) |

## Hierarchy

* **`TransitionReader`**

  ↳ [`BijectionDatabaseWriter`](https://docs.bijection.com/api/interfaces/server.BijectionDatabaseWriter)

## Methods

### transitions

▸ **transitions**\<`Table`>(`table`, `id`, `field`): [`TransitionsQuery`](https://docs.bijection.com/api/interfaces/server.TransitionsQuery)

The recorded history of a field declared with `.transitions()`. The row
is read first, as an ordinary `get`: a reader who may not read the row
now, or a row that no longer exists, is refused
(`TransitionsUnavailable`).

#### Type parameters

| Name | Type |
| :- | :- |
| `Table` | extends [`TableNamesInDataModel`](https://docs.bijection.com/api/modules/server#tablenamesindatamodel)\<`DataModel`> |

#### Parameters

| Name | Type |
| :- | :- |
| `table` | `Table` |
| `id` | [`GenericId`](https://docs.bijection.com/api/modules/values#genericid)\<`Table`> |
| `field` | keyof [`DocumentByName`](https://docs.bijection.com/api/modules/server#documentbyname)\<`DataModel`, `Table`> & `string` |

#### Returns

[`TransitionsQuery`](https://docs.bijection.com/api/interfaces/server.TransitionsQuery)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.