PolarDB-O 云原生数据库 ST_isSorted

By | 2021年4月22日

判断pcpatch中所有pcpoint是否按指定的维度进行排序。

语法

boolean ST_isSorted(pcpatch pc, text[] dimnames, boolean strict default true);

参数

参数名称 描述
pc pcpatch对象。
dimnames 属性维度名称数组。
strict 如果为true则进一步要求单个pcpoint的属性维度无重复。

示例

SELECT ST_isSorted(pa, Array['a','c']) FROM patches;
------------------------------------------------------------
 f
(1 rows)


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

发表回复

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

Iconic One Theme | Powered by Wordpress