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

# LiveQueryPublish

[API Reference](https://docs.modelence.com/api-reference/modelence/server/type-aliases/../../../index) / [modelence](https://docs.modelence.com/api-reference/modelence/server/type-aliases/../../index) / [server](https://docs.modelence.com/api-reference/modelence/server/type-aliases/../index) / LiveQueryPublish

> **LiveQueryPublish** = () => `void`

Defined in: [packages/modelence/src/live-query/context.ts:5](https://github.com/modelence/modelence/blob/main/packages/modelence/src/live-query/context.ts#L5)

Publish function provided to watch handlers.
Call this to trigger a re-fetch and send updated data to the client.

## Returns

`void`


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