--
You received this message because you are subscribed to the Google Groups "neo4jrb" group.
To post to this group, send email to neo...@googlegroups.com.
To unsubscribe from this group, send email to neo4jrb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/neo4jrb?hl=en.
Neo4j does not support true nested transactions. So your user object will actually be created in the graph only after the transaction block is executed.
I'd suggest you take a look at the Neo4j.rb docs here: http://neo4j.rubyforge.org/guides/rails3.html
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer
brew install neo4j && neo4j start
heroku addons:add neo4j
@peter The new in graph index that we are planning to develop will not
support this either because it will also use the Neo4j events
> No, you can't query and find newly created nodes using the lucene
> index until the transaction is completed since we are using Neo4j
> events which are triggered just before the transaction commits.
> But you can of course always access with for traversals (for example)
> all created nodes in the same transaction, which are only visible for
> the current transaction.
Ok. So the transaction works as in most DBs. That's a relief :)
It is the index that get updated only after transaction commits.
Meaning I can't query by index, but can by ID or traversing from the root or other node.
Right?
I'm kind of ok with this.
But it should be reflected much better in the docs though.
Cheers.
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer
brew install neo4j && neo4j start
heroku addons:add neo4j