Skip to content

Commit

Permalink
Add note about subscription mutation types (#573)
Browse files Browse the repository at this point in the history
* Add note about subscription mutation types

* Update docs/indexer/run_publish/query/subscription.md

---------

Co-authored-by: James Bayly <[email protected]>
  • Loading branch information
stwiname and jamesbayly authored Nov 28, 2024
1 parent 541af35 commit a57f229
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/indexer/run_publish/query/subscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ subscription {

Note that the `mutation` filter can be one of `INSERT`, `UPDATE` or `DELETE`.

::: tip Note
If historical indexing is enabled, the `mutation_type` will be `UPDATE` for both insertions and updates.
:::

## Examples

### Client-side (React Exampel)
Expand Down

0 comments on commit a57f229

Please sign in to comment.