客户端 Cursor - 通过随机密钥列表选择 - 客户端查询批处理
作者: milahu创建于 2019年12月26日更新于 2026年5月8日
标签👻 Needs Champion
in SQL, we can use the SQL IN operator
SELECT * FROM table
WHERE table.key IN UNNEST (@keylist)where keylist is an array of keys like [1, 1000, 50, 10000] [source]
[ the UNNEST operator converts from array to vertical vector ]
the keys are random, not adjacent, not predictable similar to a server-side pagination Cursor, so we can say "client Cursor"
use case in graphQL? parallel pagination. broad first search / breadth-first search. and: dealing with "read only" servers = we cannot change the server schema
内容来源: graphql/graphql-spec