Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 AppSync API,并且需要以随机顺序返回数据。
这就是我目前所拥有的,我不知道从哪里开始,也找不到任何关于此的文档。
{ "items": $util.toJson($ctx.result.items) }
您可以从 VTL 调用 DDB 扫描,而不是执行查询。扫描操作不保证结果的任何排序