to_version.asciidoc 535 B

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