[python-sql] SELECT DISTINCT

2016-09-14 Thread Ruben Nielsen
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 definitio

Re: [python-sql] SELECT DISTINCT

2016-09-21 Thread Ruben Nielsen
return (self._with_str() + 'SELECT %s FROM %s' % (columns, from_) + where + group_by + having + window + self._order_by_str + self._limit_offset_str + for_) # Monkey-patch the python-sql library with an implementation of