# KeyedStream

# Type Alias: KeyedStream

```ts
type KeyedStream = IStreamBuilder<InputRow>;
```

Defined in: [packages/db/src/types.ts:793](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L793)

A keyed stream is a stream of rows
This is used as the inputs from a collection to a query
