[Cubicweb] An rql bug ?

aurélien campéas aurelien.campeas at gmail.com
Wed Feb 4 16:11:59 CET 2015


2015-02-04 16:09 GMT+01:00 Sylvain Thénault <sylvain.thenault at logilab.fr>:

> On 04 février 16:00, aurélien campéas wrote:
> > It does the trick ! Thank you very much :)
>
> that's because OR doesn't work like most people would expect. Every
> variable in
> a rql statement (eg beside subquery and union query) has a single
> "identity",
> even those in EXISTS scope.
>

Yes, and I know that quite well, but I have some difficulties "computing"
the
behaviour of the expression with a shared variable (in my head).

For instance, it is not intuitive that the combination of these clauses
yields what I saw.



>
> --
> Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse
> (05.62.17.16.42)
> 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/20150204/aa57fa95/attachment-0127.html>


More information about the Cubicweb mailing list