def join(self, selectable, on_clause): self.__joins.append((selectable, parsable(on_clause))) return self
def where(self, node): if self.__where != None: raise Exception("Where already set!") self.__where = parsable(node) return self