to_version.asciidoc 546 B

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