1 個回答
- 最新
- 最多得票
- 最多評論
2
I'm not an AppSync expert, but I am a DynamoDB one. Typically when integrating with DynamoDB the limit is placed when fetching the data, as the child records are within family items here, thats not possible. So it seems what you are trying to achieve is for AppSync to return only 2 children from the response from DynamoDB and I don't believe that logic exists.
Best just to grab 2 children in your middleware return
and reduce what you return to the front send client.
相關內容
- AWS 官方已更新 7 個月前
- AWS 官方已更新 3 年前