uds ipc working

This commit is contained in:
2026-03-08 19:07:37 +01:00
parent dcc863c451
commit 54ddc9851c
6 changed files with 64 additions and 2 deletions

View File

@ -112,4 +112,10 @@ impl Database {
Ok(entries)
}
pub fn delete_entry_by_content(&self, content: &str) -> Result<(), Box<dyn Error>> {
self.conn
.execute("DELETE FROM history WHERE content = ?1", [content])?;
Ok(())
}
}