Difference between displaying data using  action and displaying data from aggregate

Hi Everyone,

i am working on API expose and consume to get the data from a s3 bucket. my question is what is the differerence between getting the data from a data action and getting the data from a aggregate

There is also a good article in case you want to use to do pagination, sorting and filtering using data actions that I think is quite useful.




Hi Saif,

Adding one point 

Never create an action to execute an Aggregate. When the query is isolated in an action by itself, the Platform can't optimize the number of fields to be retrieved.

For more detail Kindly visit  below link.


Best Regards


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.