//Automatically opens a new transaction, is there a way to set R/W CL=QUORUM?v1=juno = graph.addVertex() v1.property("k1", "v1");graph.tx().commit() //Ends transactiontry { //Automatically opens a new transaction, is there a way to set R/W CL=LOCAL_QUORUM? if (!g.V().has("k2", "v2").iterator().hasNext()) { v2 = graph.addVertex() v2.property("k2", "v2") } graph.tx().commit()} catch (Exception e) { println(e.getMessage())}
© 2023 Groups.io