You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Hugi Thordarson <hu...@karlmenn.is> on 2017/02/14 16:58:50 UTC

ColumnSelect and distinct

Hi all, once again :).

Playing around a little with the new ColumnSelect API. Can I use DISTINCT with it?

Cheers,
- hugi

Re: ColumnSelect and distinct

Posted by Hugi Thordarson <hu...@karlmenn.is>.
Awesome :)

- hugi


> On 14. feb. 2017, at 17:14, Andrus Adamchik <an...@objectstyle.org> wrote:
> 
> We just discussed this with Nikita today. Explicit DISTINCT didn't make sense in the days of pure object select (as we could guess it during query translation). But now it does. And the backend actually supports it. We just need to add public API for it. 
> 
> Andrus
> 
>> On Feb 14, 2017, at 7:58 PM, Hugi Thordarson <hu...@karlmenn.is> wrote:
>> 
>> Hi all, once again :).
>> 
>> Playing around a little with the new ColumnSelect API. Can I use DISTINCT with it?
>> 
>> Cheers,
>> - hugi
> 


Re: ColumnSelect and distinct

Posted by Andrus Adamchik <an...@objectstyle.org>.
We just discussed this with Nikita today. Explicit DISTINCT didn't make sense in the days of pure object select (as we could guess it during query translation). But now it does. And the backend actually supports it. We just need to add public API for it. 

Andrus

> On Feb 14, 2017, at 7:58 PM, Hugi Thordarson <hu...@karlmenn.is> wrote:
> 
> Hi all, once again :).
> 
> Playing around a little with the new ColumnSelect API. Can I use DISTINCT with it?
> 
> Cheers,
> - hugi