Converts the binary representation of an H3Grid object (a bytea value) into an h3grid data type.
Syntax
h3grid ST_H3FromBinary(bytea binary);Parameters
| Parameter | Description |
|---|---|
binary | The binary representation of an H3Grid object. The value must be of the bytea type. |
Examples
SELECT ST_H3FromBinary('\x010100ffff9f6826a18408');Output:
st_h3frombinary
------------------------
010100FFFF9F6826A18408