Skip to content

Commit

Permalink
Add support for blob SQL type in relational queries
Browse files Browse the repository at this point in the history
SQLite does not support selecting a blob type column in 'json_array()' and this function is used in relational queries.
Solve this by wrapping blob type columns in 'hex()' function to cast the blob to a hex string that we can parse back into a blob later.
Said 'later' being the 'mapFromDriverValue' step where inside this function we turn the hex string back into a buffer before passing it along.
  • Loading branch information
Colonel-Sandvich committed May 3, 2024
1 parent 96ae030 commit 87a7e25
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 87a7e25

Please sign in to comment.