tags:

views:

218

answers:

1

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

+2  A: 
select r_object_id, object_name from dm_document(all) where folder('/NameOfCabinet', descend);
heeen
I'm not sure if I agree with the all predicate, as this will return all versions, not just current versions.
shsteimer