Skip to content

Sync from docs: document composite-key JOIN support in Sync Streams (powersync-docs #395)#39

Merged
michaelbarnes merged 1 commit into
mainfrom
drift/docs-395-multi-column-joins
Jun 4, 2026
Merged

Sync from docs: document composite-key JOIN support in Sync Streams (powersync-docs #395)#39
michaelbarnes merged 1 commit into
mainfrom
drift/docs-395-multi-column-joins

Conversation

@bean1352
Copy link
Copy Markdown
Collaborator

@bean1352 bean1352 commented Jun 4, 2026

Generated by Claude. Review carefully before merging.

Source docs PR: powersync-ja/powersync-docs#395

What changed in docs

The Sync Streams compiler now supports joining two tables on multiple columns (composite keys) — queries that previously failed with an internal circular reference error are now valid. The docs added a composite-key example to the JOIN Syntax reference in sync/supported-sql.mdx.

Skill updates in this PR

  • skills/powersync/references/sync-config.md — added a composite-key JOIN example under the ### JOIN common pattern, showing implicit join syntax with multiple WHERE equality conditions.

Notes for reviewer

The docs PR also mentions a "Multi-column join conditions" subsection was added to the Writing Queries page, but the diff only touched sync/supported-sql.mdx (6 additions, 1 file). The skill edit mirrors what is in the diff: a valid composite-key example. If the Writing Queries page change surfaces in a follow-up docs PR, a further skill update may be warranted.


Generated by Claude Code

@bean1352 bean1352 requested a review from michaelbarnes June 4, 2026 13:10
@bean1352 bean1352 self-assigned this Jun 4, 2026
@michaelbarnes michaelbarnes merged commit 6d9d113 into main Jun 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants