Bytes functions
These functions can be used when working with bytes in SurrealQL.
| Function | Description |
|---|---|
bytes::len() | Gives the length in bytes |
bytes::len
The bytes::len function returns the length in bytes of a bytes value.
The following example shows this function, and its output, when used in a RETURN statement: