I'd vote for using the begin/finish terms for transactions, just as in neo4j. That'd make you feel more cosy and at home perhaps?
2010/1/28 Tobias Ivarsson <[email protected]>: > I personally prefer to handle (at least write-) transactions manually. But > in this case I think the best option is to go with whatever is most natural > in gremlin. > > I think this is yet another case where it would be nice if Neo4j allowed > read operations without a transactional context. Then manual transaction > handling for Neo4j through Gremlin would be the obvious choice. +1 > > Cheers, > Tobias > > On Wed, Jan 27, 2010 at 7:24 PM, Marko A. Rodriguez <[email protected]> wrote: > >> Hi, >> >> In Gremlin [http://gremlin.tinkerpop.com], Neo4j transactions are handled >> automatically for every write to the graph. I'm now getting around to >> creating three new Neo4j Gremlin functions: >> >> 1. neo4j:start-tx() >> 2. neo4j:stop-tx(boolean) >> 3. neo4j:auto-tx(boolean) >> >> neo4j:stop-tx boolean argument is whether the transaction was a success or >> failure. The neo4j:auto-tx boolean is whether to use the auto transaction >> model or not. auto-tx boolean must be false for start-tx and stop-tx to >> work. >> >> Here is my question: >> >> Do you think its best to assume auto transactions (true) when someone >> opens a Neo4j graph or not? >> >> Thanks, >> Marko. >> >> http://markorodriguez.com >> http://tinkerpop.com >> >> _______________________________________________ >> Neo mailing list >> [email protected] >> https://lists.neo4j.org/mailman/listinfo/user >> > > > > -- > Tobias Ivarsson <[email protected]> > Hacker, Neo Technology > www.neotechnology.com > Cellphone: +46 706 534857 > _______________________________________________ > Neo mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [[email protected]] Neo Technology, www.neotechnology.com _______________________________________________ Neo mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

