PolarDB-O 云原生数据库 ST_get

By | 2021年4月22日

获取pcpoint对象属性值。

语法

float8[]  ST_get(pcpoint pc);
numeric ST_get(pcpoint pc, text dimname);

参数

参数名称 描述
pc pcpoint对象。
dimname 指定的属性维度名称。

示例

SELECT ST_Get('010100000064CEFFFF94110000703000000400'::pcpoint, 'Intensity');
-------------------
4

SELECT ST_Get('010100000064CEFFFF94110000703000000400'::pcpoint);
--------------------
{-127,45,124,4}

请关注公众号获取更多资料

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Iconic One Theme | Powered by Wordpress