How to list all database collections in MarkLogic?

Viewed 423

I am wondering is it possible to get a database collections list using node.js client? I have found a way how to do it using XQuery and it works fine in "Query console", but I'm not sure is it possible to run that query from node.js client?

1 Answers
Related