123456789101112131415161718192021222324252627282930313233343536 |
- [discrete]
- [[esql-to_version]]
- === `TO_VERSION`
- *Alias*
- `TO_VER`
- *Syntax*
- [.text-center]
- image::esql/functions/signature/to_version.svg[Embedded,opts=inline]
- *Parameters*
- `v`::
- Input value. The input can be a single- or multi-valued column or an expression.
- *Description*
- Converts an input string to a version value.
- *Supported types*
- include::types/to_version.asciidoc[]
- *Example*
- [source.merge.styled,esql]
- ----
- include::{esql-specs}/version.csv-spec[tag=to_version]
- ----
- [%header.monospaced.styled,format=dsv,separator=|]
- |===
- include::{esql-specs}/version.csv-spec[tag=to_version-result]
- |===
|