Skip to content

feat: MongoDB Replication Pre-filtering - #681

Draft
stevensJourney wants to merge 1 commit into
mainfrom
replication-prefiltering
Draft

stevensJourney wants to merge 1 commit into
mainfrom
replication-prefiltering

Conversation

@stevensJourney

Copy link
Copy Markdown
Contributor

This adds documentation for the Team/Enterprise MongoDB Replication Pre-filtering feature.

AI Usage: This is generated by Codex 6.1. Some items were manually tweaked. I verified the output was accurate.

@mintlify

mintlify Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated
powersync 🟢 Ready View Preview Oct 5, 2026, 1:46 PM

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

**Availability**: MongoDB replication pre-filtering is available for customers on our [Team and Enterprise](https://www.powersync.com/pricing) plans. Self-hosted deployments require the [Enterprise Self-Hosted Edition](/intro/self-hosting#enterprise-self-hosted-edition).
</Note>

{/* TODO: Confirm release status and minimum PowerSync Service version before publishing. */}

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.

This isn't just a version-number check: powersync-service PR #810 (source_table_options parsing) and #811 (MongoDB replication query provider) are both still open, and #811 says outright "No actual filtering—this only defines the extension point an external module can build on." The paired self-host-demo PR #67 for this same feature is also still open. There's no merged implementation anywhere to verify the operators, EJSON handling, or behavior described below against — hold publication until these merge (or a release note confirms the feature shipped).

Comment thread sync/advanced/mongodb-replication-pre-filtering.mdx

{/* TODO: Verify that the demo is published at this URL before publishing this page. */}

The [self-hosted MongoDB pre-filtering demo](https://github.com/powersync-ja/self-host-demo/tree/main/demos/nodejs-mongodb-prefiltering) filters archived lists and todos. It includes source indexes, seed data, and a stream writer so you can compare source counts with the client's synced data.

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.

This demo isn't on main yet — it's still in open PR powersync-ja/self-host-demo#67 ("feat: MongoDB Replication Pre-filtering demo"). The link currently 404s, which matches this PR's failing "Check External Links" CI job. Don't publish this link until #67 merges.

This branch was successfully deployed

1 active deployment
staging — 995478fd Deployed Oct 5, 2026 by mintlify[bot]
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.

1 participant