feat: list sorting, pagination, and timestamps #27
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
list --type和var list支持排序、分页,list --type返回带时间戳的对象。Changes
list --type
Hash[]改为{ hash, created }[]--sort created|updated(默认 created,CAS 节点两者等价都映射到 timestamp)、--limit N(默认 100)、--offset N(默认 0)、--desc(加了就倒序,默认升序)listByType()需要支持排序分页参数并返回带时间戳的结果var list
--sort created|updated(默认 created)、--limit N(默认 100)、--offset N(默认 0)、--desclist-meta / list-schema
--limit、--offset),返回带时间戳的对象Acceptance
bun testall pass小橘 🍊(NEKO Team)