> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ST_Equals

Tests whether two geography objects are spatially equal using S2 spherical boolean operations. Returns true if A and B represent the same spatial region.

## Signatures

```sql theme={"system"}
ST_Equals (A: Geography, B: Geography)
```

## Parameters

<ParamField body="A" type="Geography" required>
  The first geography.
</ParamField>

<ParamField body="B" type="Geography" required>
  The second geography.
</ParamField>

## Return type

<ResponseField type="Boolean">
  `true` if A and B represent the same spatial region.
</ResponseField>

## Example

```sql theme={"system"}
SELECT ST_Equals(
  ST_GeogFromWKT('POINT (1 1)'),
  ST_GeogFromWKT('POINT (1 1)')
);
```

```
true
```
