Skip to content

Display SQLite BLOB results as hex strings#258

Draft
dbcli-symphony[bot] wants to merge 1 commit into
mainfrom
symphony/dbcli-litecli-244-attempt-3
Draft

Display SQLite BLOB results as hex strings#258
dbcli-symphony[bot] wants to merge 1 commit into
mainfrom
symphony/dbcli-litecli-244-attempt-3

Conversation

@dbcli-symphony

@dbcli-symphony dbcli-symphony Bot commented Jun 8, 2026

Copy link
Copy Markdown

Changes

Display SQLite BLOB values returned as Python bytes as uppercase hex strings in query results. Added a focused regression test that inserts x'0101C30A' into a BLOB column and expects 0101C30A.

Fixes #244

Tests

ruff check litecli/sqlexecute.py tests/test_sqlexecute.py

A targeted Python SQLite cursor check was also run against SQLExecute.get_result. Full pytest could not run because the VM could not install missing dependencies offline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automatically decode hex for BLOB fields.

0 participants