Hi Mark,

All system documents and collections start with "$" symbol. Try something
like the following to filter them out:

*doc('$collections')//collection[not(starts-with(@name, '$'))]*

Suggestion: right now we have the CREATE, DELETE, and RENAME xquery
> statements for collections, but a LIST command would be very helpful when
> managing collection as well. Its like the 'R' in CRUD was left out for some
> reason that I'm not aware of...
>

No. It's like 'R' retrieves too much information. Possibly, we should return
only collections/documents names user has access to? However, it'll
complicate internal logic of the doc('$collection') query and I don't sure
that we actually need this.

Ivan Shcheklein,
Sedna Team
------------------------------------------------------------------------------
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to