If you just want to retrieve the names of all collections,
cts:collections() will do it if you have configured the collection
lexicon in your database:

http://developer.marklogic.com/pubs/4.1/apidocs/Lexicons.html#cts:collections

Otherwise, I'm not sure offhand what the most efficient way would be to
do this.

On Mon, 10 May 2010, Pradeep Maddireddy wrote:

> Hi..!
>
> Is there any function to retrieve all the collections in a Database.
>
> Thanks
> Pradeep Maddireddy
>

-- 
David Sewell, Editorial and Technical Manager
ROTUNDA, The University of Virginia Press
PO Box 801079, Charlottesville, VA 22904-4318 USA
Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903
Email: [email protected]   Tel: +1 434 924 9973
Web: http://rotunda.upress.virginia.edu/
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to