AT

Does Gremlin support API for CRUD operations?

Hharsh19919/5/2023
Currently using g.V() for read and g.addV() for write.
Ttriggan9/5/2023
Yes, addV(), addE() and property() are essentially all that makes up Create functionality. Read functionality can widely vary based on query structure. Vertex and Edge IDs are immutable, so updates are more related to properties. You can use the property() step directly for updating property values and can get more advanced through the use of mergeV() or mergeE() for updates. Deletes are handled through drop().

Looking for more? Join the community!