I\'m trying to get a list of transactions from my DB. I need to use an aggregate because I need to do some other stuff with it. Here is some of the code that I am working