-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
SQLAlchemy has an option to delete relations when you delete an item, that would be a cool feature to have
Currently delete works like this for me:
db.query(Student).filter("LIKE(rec.name, 'test%')", prepend_rec_name=False).delete()
I think a non breaking change would be something like:
db.query(Student).filter("LIKE(rec.name, 'test%')", prepend_rec_name=False).delete(purge_edges=True)
A discussion on modifying AQL for this purpose:
https://stackoverflow.com/questions/35074545/safe-removal-of-vertexes-in-arangodb-using-ids
Metadata
Metadata
Assignees
Labels
No labels