MCPcopy Create free account
hub / github.com/douglance/devsql / load_claude_tables

Method load_claude_tables

crates/devsql/src/engine.rs:47–59  ·  view source on GitHub ↗

Load Claude Code tables needed for the query

(&mut self, tables: &[&str])

Source from the content-addressed store, hash-verified

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<()> {

Callers 2

runMethod · 0.80

Calls 5

load_historyMethod · 0.80
load_jhistoryMethod · 0.80
load_transcriptsMethod · 0.80
load_sessionsMethod · 0.80
load_todosMethod · 0.80