根据graphql的开始时间对列表进行排序
我正在尝试根据开始时间从graphQl排序列表,然后尝试通过start_time进行sort,但是graphql显示“ graphqldocumenterror:norknown list” list.start_time“ on field” sort“ of fiend”。
query GetListById($ListID: ID!) {
list_by_id(id: $ListID, sort: "start_time:desc") {
id
title
start_time
end_time
}
}
谁能告诉我如何将列表排序?谢谢
I am trying to sort the list from graphql according to the start time and I tried to pass sort with start_time, but graphql showing "GraphQLDocumentError: Unknown argument "sort" on field "list.start_time"."
query GetListById($ListID: ID!) {
list_by_id(id: $ListID, sort: "start_time:desc") {
id
title
start_time
end_time
}
}
Can anyone show me how can I sort the list into the front? Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论