[Cubicweb] Maybe a mistake in rql document

Jinpeng Li mr.li.jinpeng at gmail.com
Fri Apr 4 17:08:07 CEST 2014

Hi list,

Maybe it is a mistake in rql doc:

2.2.9. Examples
Search for the object of identifier 53
*Any WHERE X eid 53*

I run this rql on my machine:
>>> rql = "Any WHERE X eid 2374"
>>> session.execute(rql)
RQLSyntaxError: Any WHERE X eid 2374;
at: ('<f.1139>', 1, 10)
>>> rql = "Any X WHERE X eid 2374"
>>> session.execute(rql)
<resultset 'Any X WHERE X eid 2374' (1 rows): [2374] ((u'Study',))>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20140404/c954abc5/attachment-0185.html>

More information about the Cubicweb mailing list