docs/dev_manual_examples.rb
######################################
# Example 3. Read-write transaction
######################################
Example 3. Read-write transaction
Example 3 . Read - write transaction
def add_person(name)
  driver.session do |session|
    session.write_transaction { |tx| create_person_node(tx, name) }
    session.read_transaction { |tx| match_person_node(tx, name) }
  end
end
def add_person ( name ) driver . session do | session | session . write_transaction { | tx | create_person_node ( tx , name ) } session . read_transaction { | tx | match_person_node ( tx , name ) } end end
Example 3.
Example 3 .
name
<not_specific>