st_contains.asciidoc 797 B

1234567891011121314151617181920212223242526
  1. [discrete]
  2. [[esql-st_contains]]
  3. === `ST_CONTAINS`
  4. experimental::[]
  5. *Syntax*
  6. [.text-center]
  7. image::esql/functions/signature/st_contains.svg[Embedded,opts=inline]
  8. *Parameters*
  9. `geomA`::
  10. Expression of type `geo_point`, `cartesian_point`, `geo_shape` or `cartesian_shape`. If `null`, the function returns `null`.
  11. `geomB`::
  12. Expression of type `geo_point`, `cartesian_point`, `geo_shape` or `cartesian_shape`. If `null`, the function returns `null`.
  13. The second parameter must also have the same coordinate system as the first.
  14. This means it is not possible to combine `geo_*` and `cartesian_*` parameters.
  15. include::description/st_contains.asciidoc[]
  16. This is the inverse of the <<esql-st_within,ST_WITHIN>> function.
  17. include::types/st_contains.asciidoc[]
  18. include::examples/st_contains.asciidoc[]