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公式更新しました 4年前