the standalone function "distinct" is only in core can you be more specific here

"distinct on" is specific to posrtgresql, and is provided by select.distinct, 
query.distinct.   the latter makes use of the former, so obviously both have 
the same features.



On Sep 18, 2013, at 8:36 PM, Jonathan Vanasco <jonat...@findmeon.com> wrote:

> this tripped me up when i was working on some queries.
> 
> orm  :
>      distinct( column ) = "DISTINCT ON (column)"
> 
> core :
>      distinct( column ) = "DISTINCT (column)"
>     
> 
> there doesn't seem to be an easy way to write "DISTINCT ON (column)" in the 
> orm
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at http://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/groups/opt_out.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to