# toWireQuery (@salmonui/data/json)

> The toWireQuery function of @salmonui/data/json: DataQuery to wire query. Paging is supplied by the caller (offset, cursor, or block).

Canonical: https://salmonui.dev/docs/reference/data/json/toWireQuery

```ts
import { toWireQuery } from '@salmonui/data/json';
```

Also exported from `@salmonui/data`.

Entry index: https://salmonui.dev/docs/reference/data/json (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data/json.md).

## Reference

Kind: function

```ts
function toWireQuery(query: DataQuery, options?: WireQueryOptions): WireQuery;
```

DataQuery to wire query. Paging is supplied by the caller (offset, cursor, or block).
