名称

TopoElementArray_Agg — 为一组 element_id、类型数组(topoelements)返回一个 topoelementarray

概要

topoelementarray TopoElementArray_Agg(topoelement set tefield);

说明

用于从一组 TopoElement 创建一个 TopoElementArray

可用性:2.0.0

示例

SELECT topology.TopoElementArray_Agg(ARRAY[e,t]) As tea
  FROM generate_series(1,3) As e CROSS JOIN generate_series(1,4) As t;
  tea
--------------------------------------------------------------------------
{{1,1},{1,2},{1,3},{1,4},{2,1},{2,2},{2,3},{2,4},{3,1},{3,2},{3,3},{3,4}}

另请参见

TopoElementTopoElementArray