sqlite.Blob
Object → sqlite.Blob
A blob query parameter.
Blobs are written as hex literals, so they may contain any bytes, including null bytes.
sql.Query cuts blob results at the first null byte, so read them back as hex( column ) and decode with sqlite.cast using the "blob" type.
Constructor
sqlite.Blob(data: string): sqlite.BlobFields
| Name | Type | Description |
|---|---|---|
data | string | The raw bytes of the blob. |