MCPcopy Create free account
hub / github.com/bitswired/rustgpt / ChatRepository

Class ChatRepository

src/data/repository.rs:9–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8#[derive(Clone)]
9pub struct ChatRepository {
10 pub pool: Arc<SqlitePool>,
11}
12
13impl ChatRepository {
14 pub async fn get_all_chats(&self, user_id: i64) -> sqlx::Result<Vec<Chat>> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected