'Return all transactions in the database.'

def get_all_transactions(self):

    db_result = self.execute(u'SELECT    *    FROM    transactions').fetchall()
    return [Transaction.from_database(db_item, self.get_payments(TransactionId(TraderId(str(db_item[0])), TransactionNumber(db_item[1])))) for db_item in db_result]
