feat(example-doc-vault): implement dual-backend routing with automatic ObjectUri deduction #11
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
qa:preview
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
quatrain/core#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of parent story #9.
🎯 Goal
Configure a dual-database architecture demonstrating seamless multi-backend query resolution via ObjectUri.
📋 Specification
Backend.addBackend(postgresAdapter, 'postgres', true)(for active operational documents).Backend.addBackend(sqliteAdapter, 'archive', false)(for immutable audit logs and compliance records).Document.repository().read('doc-101')routes topostgres.AuditLog.repository().read('archive:audit_logs/log-505')automatically routes toarchive(SQLite).auditLog.save()writing automatically toarchive).