Question

Using DQL I want to return all the documents under the Cabinet test. How would I go about writing a query to do this?

Was it helpful?

Solution

select r_object_id, object_name from dm_document(all) where folder('/NameOfCabinet', descend);

OTHER TIPS

select * from dm_document where folder('/NameOfCabinet', descend); It will only return the current version of all the documents but not the all the version.

To see all the versions.

select * from dm_document(all) where folder('/NameOfCabinet', descend);

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top