ST_DeleteGTF

更新时间:
复制 MD 格式

Deletes all trajectory data files (.gtf) from a specified Object Storage Service (OSS) folder.

Syntax

void ST_DeleteGTF(text directory);

Parameters

ParameterDescription
directoryThe OSS folder that contains the trajectory data files. Only OSS folders are supported. Use the following format: 'OSS://<AccessKey ID>:<AccessKey secret>@<Endpoint>/<Bucket>/<Directory>'

Description

ST_DeleteGTF removes all .gtf files stored in the specified OSS folder. The function returns no value.

Examples

SELECT ST_deleteGtf('OSS_PATH');

Replace OSS_PATH with the full OSS connection string in the format 'OSS://<AccessKey ID>:<AccessKey secret>@<Endpoint>/<Bucket>/<Directory>'.