Equal to operator (=)

更新时间:
复制 MD 格式

Compares two raster objects by their universally unique identifiers (UUIDs) and returns true if the UUIDs are equal.

Syntax

bool Operator =(raster rast1, raster rast2);

Parameters

ParameterDescription
rast1The first raster object.
rast2The second raster object.

Usage notes

This operator compares only the UUIDs of the two raster objects. It does not compare spatial extents or pixel types. This operator is used only for operations such as union and B-tree.

Example

SELECT a.rast = b.rast
FROM tbl_a a, tbl_b b
WHERE a.id = b.id