1
0

to_version.asciidoc 609 B

123456789101112131415161718192021222324252627282930313233343536
  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. *Supported types*
  15. include::types/to_version.asciidoc[]
  16. *Example*
  17. [source.merge.styled,esql]
  18. ----
  19. include::{esql-specs}/version.csv-spec[tag=to_version]
  20. ----
  21. [%header.monospaced.styled,format=dsv,separator=|]
  22. |===
  23. include::{esql-specs}/version.csv-spec[tag=to_version-result]
  24. |===