All Products
Search
Document Center

PolarDB:ST_LoadWorkspace

Last Updated:Nov 13, 2024

Loads a map matching workspace and builds an in-memory topological network from the data in a relational table.

Syntax

boolean ST_LoadWorkspace(text wsname);

Parameters

Parameter

Description

wsname

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

Return values

Return value

Description

t

The loading was successful.

f

The loading failed.

Description

After the database process exits, the in-memory topological network data in the workspace is released. To perform load matching, you must reload the data by using the SQL statement that specifies the workspace.

Examples

SELECT ST_LoadWorkspace('mm_ws_test');