It's recommended to use text('...', { mode: 'json' }) instead of blob in JSON mode, because it supports JSON functions:
All JSON functions currently throw an error if any of their arguments are BLOBs because BLOBs are reserved for a future enhancement in which BLOBs will store the binary encoding for JSON.
Optionalconfig: BlobConfig<TMode>It's recommended to use text('...', { mode: 'json' }) instead of blob in JSON mode, because it supports JSON functions:
All JSON functions currently throw an error if any of their arguments are BLOBs because BLOBs are reserved for a future enhancement in which BLOBs will store the binary encoding for JSON.
Optionalconfig: BlobConfig<TMode>
It's recommended to use
text('...', { mode: 'json' })instead ofblobin JSON mode, because it supports JSON functions:https://www.sqlite.org/json1.html