I'm looking to request a dynamodb table but I can not figure out how to do a GROUP BY and a ORDER BY with the python 2.7 sdk boto3.
I have read and read again the aws documentation and most of the stacks topics but I haven't find clearly answer because my request is quite a bit complex.
I would get all the items from my tables which have a 'permaname' GROUP BY 'source' and I would have the result ORDER BY created_on DESC.
This is how I'm doing my request my simple request for the moment :
response = self.table.query(KeyConditionExpression = key('permaname').eq(self.permaname))
I hope someone has the answer