mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
17 lines
442 B
Text
17 lines
442 B
Text
[discete]
|
|
[[esql-cast-operator]]
|
|
==== `Cast (::)`
|
|
|
|
// tag::body[]
|
|
The `::` operator provides a convenient alternative syntax to the TO_<type>
|
|
<<esql-type-conversion-functions,conversion functions>>.
|
|
|
|
[source.merge.styled,esql]
|
|
----
|
|
include::{esql-specs}/convert.csv-spec[tag=docsCastOperator]
|
|
----
|
|
[%header.monospaced.styled,format=dsv,separator=|]
|
|
|===
|
|
include::{esql-specs}/convert.csv-spec[tag=docsCastOperator-result]
|
|
|===
|
|
// end::body[]
|