ST_RasterID

更新时间:
复制 MD 格式

Returns the universally unique identifier (UUID) of a raster object. Use this function to identify or reference a specific raster object across queries.

Syntax

text ST_RasterID(raster raster_obj)

Parameters

ParameterDescription
raster_objThe raster object.

Examples

Retrieve the UUID of each raster object in raster_table:

SELECT ST_RasterID(raster_obj) FROM raster_table;

Output:

4e692ed0-74e2-42a3-a10d-c28d4ae31982