All Products
Search
Document Center

PolarDB:ST_DropWorkspace

Last Updated:Mar 28, 2026

Drops a map matching workspace by name.

Syntax

boolean ST_DropWorkspace(text wsname);

Parameters

ParameterDescription
wsnameThe name of the workspace to drop. The name must be unique.

Return values

ValueDescription
tThe workspace was dropped successfully.
fThe workspace could not be dropped.

Description

Dropping a workspace releases its in-memory topological network data and removes the corresponding records from the mapmatching_workspace table.

Example

SELECT ST_DropWorkspace('mm_ws_test');