> 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/flow-logic/split-in-batches.md).

# 在 Duaer 里用 Split In Batches 分批处理

在 Duaer 里，多数节点已经会按条执行。Split In Batches 用在你要限定每一批的条数，并在批与批之间停一下的时候。
## 把处理接回这个节点

1. 加上 Split In Batches，Batch Size 写成每一批的条数，例如 10。
2. 把 loop 出口接到这一批要做的节点。
3. 这一批的最后一个节点再连回 Split In Batches。
4. done 出口在所有批次都走完之后才执行。

不必在前面加 If 判断还有没有数据。没有条目时这个节点不会空转。普通的逐条处理见 [在 Duaer 里使用循环](/zh/flow-logic/looping.md)。
## Questions

### Duaer 里每条数据都要加 Split In Batches 吗？

不用。多数节点本来就会按条执行。只有要限制每一批的条数、并在批之间回到这个节点时才用它。

