Changes

Jump to navigation Jump to search
280 bytes added ,  17:42, 26 October 2017
* Records are organized as a sequence of arrays. A single array contains the entries of a single record.
* The column names will be available if {{Code|header}} option is set to {{Code|true}}.
 
Rows in the resulting records sequence can be accessed with positional predicates, and columns can be accessed via the
 
* <code>$csv?records[2]</code> returns all entries of the second record (row)
* <code>$csv?records(2)</code> returns all entries of the second field (column)
The resulting representation consumes less memory than XML-based formats, and values can be directly accessed without conversion. Thus, it is recommendable for very large inputs and for efficient ad-hoc processing. Before {{Version|9.0}}, a {{Code|map}} format was available, which was now replaced with the more flexible and light-weight {{Code|xquery}} format.
Bureaucrats, editor, reviewer, Administrators
12,235

edits

Navigation menu