Hi So far I was adding documents and querying using Python API (generally sending commands to BaseX).
Now I need to delete some documents. What is the most effective method?
1. drop db I would have to recreate it very soon. I am a bit concerned by other clients being connected to the same database 2. loop in Python performing delete command one document by one 3. do some sort of xquery in style "for $doc in collection() return (delete base-uri($doc))" Note, that this does not work, but there might be some way like this similar to insert or update mechanism
Any ideas or hints?
Thanks for advice
Jan