All Products
Search
Document Center

PolarDB:ST_leafType

Last Updated:Mar 28, 2026

Returns the leaf type of a trajectory object as a text string.

Syntax

text ST_leafType(trajectory traj);

Parameters

ParameterDescription
trajThe trajectory object. Only the ST_POINT type is supported.

Examples

SELECT st_leafType(traj) FROM traj WHERE id = 3;
 st_leaftype
 -------------
STPOINT
(1 row)