> For the complete documentation index, see [llms.txt](https://doc.duaer.com/zh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/zh/build/aggregate.md).

# 在 Duaer 里用 Aggregate 把条目收成一组

在 Duaer 里，Aggregate 把多条输入收成更少的输出。可以只收某几个字段，也可以把整批收成一个列表。
## 收几个字段

1. 搜索 Aggregate，接到上一个节点后面。
2. Aggregate 选 Individual Fields。
3. 在 Fields To Aggregate 里加 Input Field Name，例如 id。需要时打开 Rename Field，写 Output Field Name。
4. 点执行此步骤。输出通常是一条，里面带着收好的字段。

选 All Item Data (Into a Single List) 时，整批条目收进一个列表字段。Put Output in Field 写这个字段名。
## Questions

### Duaer 的 Aggregate 和 Merge 有什么差别？

Aggregate 处理一路上的多条数据。Merge 等几路分支到齐后再拼。见 [在 Duaer 里用 Merge 汇合数据](/zh/flow-logic/merging.md)。

