Really?

dev_guide.pdf

4.2 Collections Versus Directories
Collections are used to organize documents in a database. You can also use 
directories to organize
documents in a database. The key differences in using collections to 
organize documents versus
using directories are:
• Collections do not require member documents to conform to any URI 
patterns. They are
not hierarchical; directories are. Any document can belong to any 
collection, and any
document can also belong to multiple collections.
• You can delete all documents in a collection with the 
xdmp:collection-delete() function.
Deleting a directory does not delete the documents in the directory 
(unless you use a
WebDAV client to delete a directory).
• You cannot set properties on a collection; you can on a directory.
Except for the fact that you can use both collections and directories to 
organize documents,
collections are unrelated to directories. For details on directories, see 
“Properties Documents and
Directories” on page 98.
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to