5.6-RC3 Nuxeo Shell: is "SELECT dc:title FROM Document" a valid query??

Hi all,

My question is simple. In 5.6-RC3 Nuxeo Shell, is the following command valid and must return results?

query "SELECT dc:title FROM Document"

I have some documents created (Case Management “Case” objects and others), but this query returns nothing. I've got results with “SELECT * FROM Document”. Thanks.

up

0 votes

1 answers

1807 views

ANSWER



Query system is based on NXQL language.

This language is used to query the Document Repository and returned object are always documents.

I let you looking this documentation: http://doc.nuxeo.com/x/uItH

Hope this will help.

-1 votes



Thanks. I was on the way to this conclusion (that the results aren't fields but objects), the doc doesn't make it clear I find.
08/28/2012