Files
marqdo/public/structure/08-records.mq.md
T
cflmyandCursor abcb141737 refactor: prefer link-index get across examples and tests
Migrate remaining footnote-style collection access in examples,
public/structure, and ext/lib smokes to [key](base); teach link-index in
structure pages and use bracket calls in the cafe journal example.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:54:38 +08:00

24 lines
404 B
Markdown

---
title: Row records
description: First header @ / row makes a list of maps
---
# main
When the first header is `@` or `row`, each data row is a map (marker column is not a field). Nested get: `[field]([1](orders))`.
`orders` =
| @ | name | qty |
|---|------|-----|
| 1 | apple | 2 |
| 2 | pear | 3 |
**`n` = [name]([1](orders))**
> print text=`n`
**`q` = [qty]([2](orders))**
> print text=`q`