123456789101112131415161718 |
- [[esql-mv_count]]
- === `MV_COUNT`
- Converts a multivalued field into a single valued field containing a count of the number
- of values:
- [source,esql]
- ----
- include::{esql-specs}/string.csv-spec[tag=mv_count]
- ----
- Returns:
- [%header,format=dsv,separator=|]
- |===
- include::{esql-specs}/string.csv-spec[tag=mv_count-result]
- |===
- NOTE: This function accepts all types and always returns an `integer`.
|