Changes

Jump to navigation Jump to search
2 bytes added ,  18:04, 26 October 2017
]``
let $options := map { 'format': 'xquery', 'header': true() }
let $data csv := csv:parse($text, $options)
return (
'Distinct values:',
let $records := $data?csv('records') for $name at $pos in $data?csv('names')?* let $values := $records?($pos)
return (
'* ' || $name || ': ' || string-join(distinct-values($values), ', ')
Bureaucrats, editor, reviewer, Administrators
12,235

edits

Navigation menu