Expand description
Project-related SQLite operations.
Extracted from memory/database.rs — project tables (projects,
project_memory) are a kernel concern, not a memory concern.
Uses MemoryDatabase::conn() for SQL execution.
Constants§
- PROJECT_
SCHEMA - Schema DDL for project tables.
Functions§
- delete_
project - Delete a project by ID.
- ensure_
project_ schema - Ensure project tables exist in the database.
- get_
project_ memory_ ids - Get all memory IDs associated with a project.
- link_
project_ memory - Link a memory to a project.
- list_
projects - List all projects.
- save_
project - Save a project (insert or replace).
- unlink_
project_ memory - Unlink a memory from a project.