mv_count.asciidoc 579 B

123456789101112131415161718192021222324252627282930313233
  1. [discrete]
  2. [[esql-mv_count]]
  3. === `MV_COUNT`
  4. *Syntax*
  5. [.text-center]
  6. image::esql/functions/signature/mv_count.svg[Embedded,opts=inline]
  7. *Parameters*
  8. `v`::
  9. Multivalue expression.
  10. *Description*
  11. Converts a multivalued expression into a single valued column containing a count
  12. of the number of values.
  13. *Supported types*
  14. include::types/mv_count.asciidoc[]
  15. *Example*
  16. [source.merge.styled,esql]
  17. ----
  18. include::{esql-specs}/string.csv-spec[tag=mv_count]
  19. ----
  20. [%header.monospaced.styled,format=dsv,separator=|]
  21. |===
  22. include::{esql-specs}/string.csv-spec[tag=mv_count-result]
  23. |===