I would add a variable query="..." and then return list(self.raw(query, args)). The reason is that if you are debugging the code you can just print the query (as I just did).