> ## 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_Contains

Return true if A fully contains B

<img src="https://mintcdn.com/wherobots/fqh3gPDE0J25Lra_/images/sql-functions/ST_Contains/ST_Contains_true.svg?fit=max&auto=format&n=fqh3gPDE0J25Lra_&q=85&s=6123733a4210cdbace093aadd78757d4" alt="ST_Contains returning true" width="400" height="300" data-path="images/sql-functions/ST_Contains/ST_Contains_true.svg" />

<img src="https://mintcdn.com/wherobots/fqh3gPDE0J25Lra_/images/sql-functions/ST_Contains/ST_Contains_false.svg?fit=max&auto=format&n=fqh3gPDE0J25Lra_&q=85&s=e93c638c0728b1f97e84be5cd2177a65" alt="ST_Contains returning false" width="400" height="300" data-path="images/sql-functions/ST_Contains/ST_Contains_false.svg" />

## Signatures

```sql theme={"system"}
ST_Contains (A: Geometry, B: Geometry)
```

## Parameters

<ParamField body="A" type="Geometry" required>
  The input geometry.
</ParamField>

<ParamField body="B" type="Geometry" required>
  The second geometry.
</ParamField>

## Return type

<ResponseField type="Boolean">
  Returns `true` or `false`.
</ResponseField>

## Example

```sql theme={"system"}
SELECT ST_Contains(ST_GeomFromWKT('POLYGON((175 150,20 40,50 60,125 100,175 150))'), ST_GeomFromWKT('POINT(174 149)'))
```

```
false
```
