to_version.asciidoc 590 B

12345678910111213141516171819202122232425262728293031323334
  1. [discrete]
  2. [[esql-to_version]]
  3. === `TO_VERSION`
  4. *Alias*
  5. `TO_VER`
  6. *Syntax*
  7. [.text-center]
  8. image::esql/functions/signature/to_version.svg[Embedded,opts=inline]
  9. *Parameters*
  10. `v`::
  11. Input value. The input can be a single- or multi-valued column or an expression.
  12. *Description*
  13. Converts an input string to a version value.
  14. include::types/to_version.asciidoc[]
  15. *Example*
  16. [source.merge.styled,esql]
  17. ----
  18. include::{esql-specs}/version.csv-spec[tag=to_version]
  19. ----
  20. [%header.monospaced.styled,format=dsv,separator=|]
  21. |===
  22. include::{esql-specs}/version.csv-spec[tag=to_version-result]
  23. |===