Sha256: 0055a389fcd402a913204cd5c63a040f769b0bb4ee0a3a0a8f112c4b322ed4f7

Contents?: true

Size: 784 Bytes

Versions: 2

Compression:

Stored size: 784 Bytes

Contents

[![Build Status](https://travis-ci.org/karabijavad/cadet.png?branch=master)](https://travis-ci.org/karabijavad/cadet)

Use neo4j via jruby! Nothing else needed, simply add this gem to get the power of embedded neo4j!

* Batchinsert mode supported.


super simple. you dont even need to download neo4j.


```ruby

require 'cadet'

#open the database
db = Cadet::Session.open("neo4j-community-2.0.0/data/graph.db").dsl do
  #begin a transaction. the transaction will automatically finish at the end of the provided block
  transaction do
    Person_by_name("Javad").lives_in_to City_by_name("Chicago")
  end
end

#close the database
db.close

```

Batch insert mode can be used by simply using Cadet::BatchInserter::Session instead of Cadet::Session!
None of your code needs to change.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cadet-0.0.9-java README.md
cadet-0.0.8-java README.md