[Cubicweb] straight forward filtering and ordering in the same rql sentence

Carlos Balderas carlos.balderas at gmail.com
Tue Sep 13 17:04:59 CEST 2011


>
> This is intented, you can't do this neither using sql (DISTINCT + ORDER on
> a
> non selected value). If you think about it (or search the internet ;), that
> makes sense.
>

Ooops , you are right.

>
> What doesn't suit you in the first query? Beside using a subquery, I don't
> think there is another solution.
>

Although rql has a very easy understandable syntax I wanted to ask someone
for any other possible solutions for this case, that's all =).

I appreciated very much you comments.

>
> --
> Sylvain Thénault                               LOGILAB, Paris (France)
> Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
> Développement logiciel sur mesure:       http://www.logilab.fr/services
> CubicWeb, the semantic web framework:    http://www.cubicweb.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20110913/4f403df1/attachment-0186.html>


More information about the Cubicweb mailing list