All Products
Search
Document Center

ApsaraDB RDS:ST_IsExternal

Last Updated:Apr 17, 2025

You can use this function to check whether the data of a trajectory object is stored in Object Storage Service (OSS).

Syntax

bool ST_IsExternal(trajectory traj);

Parameters

Parameter

Description

traj

The trajectory object.

Description

If the data of the specified trajectory object is stored in OSS, the function returns t. Otherwise, this function returns f.

Examples

select ST_IsExternal(traj) from trajs;
 st_isexternal 
---------------
 t
 t
 t
 f
 t
(5 rows)