Skip to content

Commit a266514

Browse files
committed
docs(plugins): 标注 driver-mongodb 仅支持单租户 (#3724)
The package catalog's "When to use" line advertised the Mongo driver for any "existing MongoDB infrastructure" with no mention that it cannot isolate tenants and now refuses to boot outside a `single` tenancy posture. Flagged by the docs-drift check on this PR. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014Hk4hSCirLNWLkgkNkj8YT
1 parent 33a423d commit a266514

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

content/docs/plugins/packages.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ const driver = new SqliteWasmDriver({ filename: ':memory:' });
185185
**MongoDB Driver** — Document-oriented storage backend.
186186

187187
- **Purpose**: Native MongoDB driver for ObjectQL with document-flavored objects
188-
- **When to use**: Existing MongoDB infrastructure, document-shaped data
188+
- **When to use**: Existing MongoDB infrastructure, document-shaped data — **single-tenant deployments only**
189+
- **Not supported**: row-level tenant isolation. The driver refuses to boot when the tenancy posture is not `single` — see [Drivers → Multi-tenancy](/docs/data-modeling/drivers#multi-tenancy-not-supported)
189190
- **README**: [View README](https://github.com/objectstack-ai/objectstack/blob/main/packages/plugins/driver-mongodb/README.md)
190191

191192
---

0 commit comments

Comments
 (0)