All Products
Search
Document Center

ApsaraDB RDS:ST_IsExternal

Last Updated:Mar 28, 2026

Checks whether the data of a trajectory object is stored in Object Storage Service (OSS).

Syntax

bool ST_IsExternal(trajectory traj);

Parameters

ParameterDescription
trajThe trajectory object.

Return values

Returns t if the trajectory object's data is stored in OSS. Returns f otherwise.

Examples

SELECT ST_IsExternal(traj) FROM trajs;
 st_isexternal
---------------
 t
 t
 t
 f
 t
(5 rows)