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