This topic describes the ST_SetBinData function. This function sets user-defined binary data.
Syntax
sfmesh ST_SetBinData(sfmesh sfmeshObject, bytea data);
material ST_SetBinData(material material, bytea data);Parameters
| Parameter | Description |
|---|---|
| sfmeshObject | The sfmesh object. |
| material | The material object. |
| data | The user-defined data. |
Description
This function sets user-defined data. The data can be saved to the sfmesh object in binary representation.
Examples
SELECT ST_BinData(ST_SetBinData(the_mesh, 'abc'::bytea))
FROM t_table;
-------------------
\x616263