Re: [Sedna-discussion] collections - how to? and a suggestion
Sedna is a native full-featured XML database management system.
Brought to you by:
mozinsur,
shcheklein
From: Ivan S. <shc...@gm...> - 2009-06-25 13:17:17
|
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 |