Any plans on adding SELECT DISTINCT? I see in the code, that there is a
TODO comment in place.
For other missing features like Postgres specific functions and types, I've
been able to add my own classes in a support library and use them, but
there is no clear way to replace you Select definition with my own, without
altering your source.
Best I can do for now is to create a subclass of your Select, add my
desired functionality and then monkey-patch sql.From.select function like
class MySelect(sql.Select):
# ...
def monkey_select(self, *args, **kwargs):
return MySelect(args, from_=self, **kwargs)
sql.From.select = monkey_select
--
You received this message because you are subscribed to the Google Groups
"python-sql" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.