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?
      
        
          - drop db
 I would have to recreate it very soon.
 I am a bit concerned by other clients being connected to the
            same database
- loop in Python performing delete command one document by
            one
- 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
 
      
      
      
      
_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk