Function ltrim_bytea

Source
pub fn ltrim_bytea(bytes: &[u8], bytesremoved: &[u8]) -> Box<[u8]>
Expand description

Removes the longest string containing only bytes appearing in bytesremoved from the start of bytes.

ยงExample

query T
SELECT ltrim('\x1234567890'::bytea, '\x9012'::bytea);
----
\x34567890