## TO_VERSION

TO_VERSION function converts an input string to a version value.

### Examples

Here are a couple of examples of how you can use the TO_VERSION function in ES|QL queries:

```esql
ROW v = TO_VERSION("1.2.3")
```

In this example, the TO_VERSION function is used to convert the string "1.2.3" to a version value.

```esql
ROW v = TO_VERSION("2.3.4")
```

In this example, the TO_VERSION function is used to convert the string "2.3.4" to a version value.