electric-sql / electric-sql/pglite

useLiveIncrementalQuery: addition to docs

Open
#554 0 comments 1 reaction 1 assignee Claimed by @tdrz View on GitHub
Dominant language
TypeScript
Stars
16k
Forks
442
Avg merge
20h 19m
Merged PRs (30d)
7

Description

Here: https://pglite.dev/docs/framework-hooks/react#useliveincrementalquery

Please document, that the column to key the diff algorithm on **needs to be included in the list of selected columns** or else this message will occur:

```error: column "column_to_key_the_diff_algorithm_on" does not exist```

I guess this means that it shouldn't/can't be used for some types of queries like `SELECT count(*)...`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.