Skip to main content

Module db

Module db 

Source
Expand description

Database layer for the Task Graph MCP Server.

Re-exports§

pub use search::AttachmentMatch;
pub use search::SearchResult;

Modules§

agents
Worker CRUD operations.
attachments
Attachment storage operations.
deps
Dependency operations and cycle detection with typed dependencies.
locks
File lock operations (advisory) and claim tracking.
schema
Schema introspection queries for the task-graph database.
search
Full-text search operations using FTS5.
state_transitions
State transition tracking for automatic time accumulation.
stats
Aggregation queries for statistics.
tasks
Task CRUD and tree operations.

Structs§

Database
Database handle wrapping a SQLite connection.

Functions§

now_ms
Get the current timestamp in milliseconds.