def unlink(self, definition, doc1, doc2) :
        "deletes all links between doc1 and doc2"
        links = self.database[definition].fetchByExample( {"_from": doc1._id,"_to" : doc2._id}, batchSize = 100)
        for l in links :
            self.deleteEdge(l)
def unlink ( self , definition , doc1 , doc2 ) : links = self . database [ definition ] . fetchByExample ( { "_from" : doc1 . _id , "_to" : doc2 . _id } , batchSize = 100 ) for l in links : self . deleteEdge ( l )
deletes all links between doc1 and doc2