Dear all,
I'm wondering how I can find out if an collection or document already
exist.
The problem is that if I try to create a collection that already exists
an exception is thrown. But if I try
exists(collection('notExistingCollection')), also a exception is thrown
(same for exists(doc(doc,col))).
How can I find out if a document/collection already exists without
catching the very common formulated exception (which could be really an
error)?
Thanks for any suggestions
Anton Brass
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion