← 返回事件
持续讨论科技发版8.0.0-rc.6

v8.0.0-rc.6-dev.1: feat(orm): rename take/skip to limit/offset (#30112)

发生了什么

Linked issue n/a — no Linear ticket. At a glance u.id.asc()) .offset(10) .limit(10) .all();"> const page2 = await db . orm . User . orderBy ( ( u ) => u . id . asc ( ) ) . offset ( 10 ) . limit ( 10 ) . all ( ) ; The same ORM query previously used .skip(10).take(10) . Decision This PR ships a breaking rename of ORM collection pagination from .take(n) / .skip(n) to .limit(n) / .offset(n) across root SQL collections,…

摘要按规则整理自下方来源原文

为什么在扩散

来源