docs/dev_manual_examples.rb
######################################
# Session API - Simple Sessions 
# Transaction function
######################################
Session API - Simple Sessions
Transaction function
Session API - Simple Sessions Transaction function
def add_person(name)
  driver.session do |session|
    session.write_transaction { |tx| create_person_node(tx, name) }
  end
end
def add_person ( name ) driver . session do | session | session . write_transaction { | tx | create_person_node ( tx , name ) } end end
Session API - Simple Sessions
Transaction function
Session API - Simple Sessions Transaction function
name
<not_specific>