ST_IsExternal

Updated at:

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

Note

This function is expected to be deprecated in a later version. Use for a better experience.

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)