Skip to content

Document wildcard schema support - #557

Open
benitav wants to merge 4 commits into
mainfrom
wildcard-schemas-docs
Open

Document wildcard schema support#557
benitav wants to merge 4 commits into
mainfrom
wildcard-schemas-docs

Conversation

@benitav

@benitav benitav commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Resolves #540

🤖 Drafted by Claude Code after passing it the original PR and this issue as context. Reviewed (mostly for stylistic/readability concerns) and polished by me.

Should still get a review for technical accuracy.

@mintlify

mintlify Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
powersync 🟢 Ready View Preview Aug 6, 2026, 10:34 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Comment thread sync/advanced/partitioned-tables.mdx Outdated
Comment thread sync/advanced/schemas-and-connections.mdx
Comment thread sync/advanced/partitioned-tables.mdx Outdated
The wildcard character can only be used as the last character in the table name. To match tables across multiple schemas instead, see [Wildcard Schemas](/sync/advanced/schemas-and-connections#wildcard-schemas-postgres).

When using wildcard table names, the original table suffix is available in the special `_table_suffix` column. This works the same way in both Sync Streams and Sync Rules:
When using wildcard table names, you can filter on the original table suffix. In Sync Streams with `edition: 3`, use the `table_suffix()` function, prefixed with the table name or alias from the `FROM` clause (requires PowerSync Service v1.24.0 or later). In legacy Sync Rules, the suffix is available as the special `_table_suffix` column instead:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Sync Streams with edition: 3,

We should not mention non-edition: 3 Sync Streams at all, let's just say Sync Streams.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if I understand your comment correctly, I think what you're saying is that we shouldn't point out edition 3 specifically because A, edition 2 was just the alpha so not really a case we need to continue documenting and B: this will become false as soon as we release edition 4?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A, edition 2 was just the alpha so not really a case we need to continue documenting

This exactly, I did not consider (B) in my comment.

Comment thread sync/advanced/partitioned-tables.mdx Outdated
Comment thread sync/advanced/schemas-and-connections.mdx Outdated
Comment thread sync/supported-sql.mdx Outdated
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.

[Drift] Wildcard schema support added to Sync Streams FROM clause (powersync-service #703)

2 participants