Fetching part of a document in NXQL

roccapl_
Confirmed Champ
Confirmed Champ

Is there a way to fetch a part of a document (eg. a particular set of metadata) using NXQL search?

1 REPLY 1

Laurent_Doguin
Star Collaborator
Star Collaborator

Hi,

You need to use CoreSession#queryAndFetch.

You'll find more details here: http://www.nuxeo.com/blog/development/2012/10/qa-friday-select-clause-nuxeo-nxql-queries/