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. |
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.idIs this page helpful?