Re:JSONB Has Landed in SQLite
by yencabulator on Wednesday December 06, 2023 @07:35PM
(#38551409)
Wait is it really true that if you use SQLite's JSONB format, `select my_json_column from foo` becomes unreadable to humans? That seems.. unacceptable. One would expect it to convert its internal format back to JSON for consumption.
So use it for writes:
Also use it for filters if applicable (although this seems like a niche use case, I can't actually think of an example).But if returning values you probably want to use `json_*` functions
Otherwise you will end up receiving the binary format.