Skip to content

Commit 0a7ff7c

Browse files
committed
docs(adr): ADR-0160 amended a second time — related lists gain where, orderBy and limit on the child's own fields
The maintainer's word, 2026-11-25, verbatim: 「related 的筛选和排序 同意」. A related entry may filter, order and cut its rows. where takes a small operator set on the child's own fields and is joined to the link filter; orderBy is the sort node's { field, order } shape; limit is a positive integer at most the service's row cap for one list. The filter runs inside the caller's one capped child query and grants nothing. A where or orderBy field the caller cannot read drops the section with the not-visible statement and is never named. The read set is unchanged, so the interceptor contract holds. Point 5 is updated and the Implementation split gains row 11, which lands the keys with their reader: until then the schema refuses them. Ported from the draft on claude/adr-0160-related-filter-order and re-measured on main at 0a1b69c: the sort node spells its direction order, not direction; row 5 has merged; the row cap is a constant of the service. One sentence is carried from the seat's review of the outline cap's PR: D3's body paragraph names the cap on an outline's entries as a further constant of the service and a further stated cut. Docs only: no schema, no code, no changeset. The generated index is unchanged. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzi13yZRqVcp2mGonWK
1 parent 0a1b69c commit 0a7ff7c

1 file changed

Lines changed: 31 additions & 11 deletions

File tree

0 commit comments

Comments
 (0)