All Products
Search
Document Center

PolarDB:ST_ClearWorkspace

Last Updated:Nov 13, 2024

Releases a map matching workspace.

Syntax

boolean ST_ClearWorkspace(text wsname);

Parameters

Parameter

Description

wsname

The name of the workspace. The name must be unique.

Return values

Return value

Description

t

The releasing was successful.

f

The releasing failed.

Description

After you release the in-memory topological network data in a workspace, the workspace remains in the mapmatching_workspace table. To use the workspace, you can call the ST_LoadWorkspace function to reload the data.

Examples

SELECT ST_ClearWorkspace('mm_ws_test');