Equal to operator (=)

Updated at:
Copy as 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

Parameter Description
rast1 The first raster object.
rast2 The second raster object.
This operator compares only the UUIDs of the two raster objects, not their spatial extents or pixel types. It is used only for operations such as union and B-tree.

Examples

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