chore: improve client (#10149)

<img width="883" height="84" alt="Screenshot 2026-01-29 at 11 13 12"
src="https://github.com/user-attachments/assets/090a2fec-94ed-4c0f-aee5-1653ed8b1439"
/>
This commit is contained in:
jif-oai
2026-01-29 11:25:22 +01:00
committed by GitHub
parent 6a06726af2
commit 4ba911d48c
7 changed files with 43 additions and 33 deletions

View File

@@ -214,7 +214,7 @@ FROM threads
}
let mut builder = QueryBuilder::<Sqlite>::new(
"INSERT INTO logs (ts, ts_nanos, level, target, message, fields_json, module_path, file, line) ",
"INSERT INTO logs (ts, ts_nanos, level, target, message, module_path, file, line) ",
);
builder.push_values(entries, |mut row, entry| {
row.push_bind(entry.ts)
@@ -222,7 +222,6 @@ FROM threads
.push_bind(&entry.level)
.push_bind(&entry.target)
.push_bind(&entry.message)
.push_bind(&entry.fields_json)
.push_bind(&entry.module_path)
.push_bind(&entry.file)
.push_bind(entry.line);