添加工作区文档模型和 SQL 存储适配 #27

Merged
Zayden-Jung merged 5 commits from codex/document-model into main 2026-11-30 10:59:42 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit deb535c256 - Show all commits
@@ -3,7 +3,7 @@
//! Within a deployment, the workspace selects a reserved collection prefix plus its ID.
//! The document ID becomes the row key in that collection, and the body is JSON.
use documents::{Document, DocumentKey};
use ::documents::{Document, DocumentKey};
use crate::{Connection, Mutation, ReadPreference, Result, Revision, StorageError};
+2 -2
View File
@@ -2,15 +2,15 @@
mod common;
mod connection;
mod documents;
pub mod mysql;
pub mod postgres;
pub mod sqlite;
mod workspace_documents;
pub use self::documents::StoredDocument;
pub use clusters::{Address, Cluster, ConfigError, DeploymentConfig, Driver, Tls};
pub use connection::{ConnectError, Connection, ReadPreference, connect};
pub use mysql::{Lease, MySql};
pub use workspace_documents::StoredDocument;
pub use common::Error as StorageError;
pub use common::{