Load Claude Code tables needed for the query
(&mut self, tables: &[&str])
| 45 | |
| 46 | /// Load Claude Code tables needed for the query |
| 47 | pub fn load_claude_tables(&mut self, tables: &[&str]) -> Result<()> { |
| 48 | for table in tables { |
| 49 | match *table { |
| 50 | "history" => self.load_history()?, |
| 51 | "jhistory" | "codex_history" => self.load_jhistory()?, |
| 52 | "transcripts" => self.load_transcripts()?, |
| 53 | "sessions" => self.load_sessions()?, |
| 54 | "todos" => self.load_todos()?, |
| 55 | _ => {} |
| 56 | } |
| 57 | } |
| 58 | Ok(()) |
| 59 | } |
| 60 | |
| 61 | /// Load Git tables needed for the query |
| 62 | pub fn load_git_tables(&mut self, tables: &[&str]) -> Result<()> { |