Amplify sort property from a model

Amplify sort property from a model


0

I’m using graphql from amplify
I have a 2 models Conversation and Message.
Message model belongs to Conversation (conversation has many messages)
So when I get Conversation by some criteria I want my messages to be sorted based on created at property.
Is there a way to do that?


Load 7 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *