Hi,

I was wondering if we can add a remove step. Currently to remove elements I iterate the traversal and call remove on each element. Adding a remove step will make it possible to optimize removals.

Its probably less useful for Neo4j and TinkerGraph, not sure about Janus but for Sqlg,

g.V().hasLabel("X").rm() will translate to one sql truncate statement. Currently to do a remove it loads all 'X's and deletes them one by one. Bit of optimizing with a bulk deletion vibe but it could be way better if there was a step to optimize.

Thanks
Pieter

Reply via email to