cancel
Showing results for 
Search instead for 
Did you mean: 

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

promanov_
Star Contributor
Star Contributor

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

1 ACCEPTED ANSWER

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

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.

View answer in original post

2 REPLIES 2

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

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.

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.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.