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 true. Otherwise, this function returns false.
Examples
select ST_IsExternal(traj) from trajs;
st_isexternal
---------------
t
t
t
f
t
(5 rows)