Bytea¶
Wraps Array[U8] val for PostgreSQL bytea columns (OID 17). Use .data
to access the raw bytes.
This type appears in result fields where previous versions returned
Array[U8] val directly. The wrapper is needed because Array[U8] val
does not implement Stringable, which FieldData requires.
Implements¶
Constructors¶
create¶
Parameters¶
Returns¶
- Bytea val^
Public fields¶
let data: Array[U8 val] val¶
Public Functions¶
eq¶
Parameters¶
- that: Bytea val
Returns¶
- Bool val
string¶
Returns a hex representation of the bytes (e.g., \\xdeadbeef).
Returns¶
- String iso^
ne¶
Parameters¶
- that: Bytea val
Returns¶
- Bool val