Function bytea_concat_op

Source
pub fn bytea_concat_op(left: &[u8], right: &[u8]) -> Box<[u8]>
Expand description

Concatenates the two binary strings.

ยงExample

query I
select '\x123456'::bytea || '\x789a00bcde'::bytea;
----
\x123456789a00bcde

query I
select '\x123456'::bytea || '\x789a00bcde';
----
\x123456789a00bcde

query I
select '\x123456'::bytea || ''::bytea;
----
\x123456