activegraph

https://github.com/neo4jrb/activegraph

Ruby

An active model wrapper for the Neo4j Graph Database for Ruby.

Neo4j::ActiveRel::Persistence::QueryFactory#build!

TODO: This feels like it should also wrap the rel, but that is handled in Neo4j::ActiveRel::Persistence at the moment.
Builds and executes the query using the objects giving during init.
It holds the process:
  * Execute node callbacks if needed
  * Create and execute the query
  * Mix the query response into the unpersisted objects given during init

Source | Google | Stack overflow

Edit

git clone [email protected]:neo4jrb/activegraph.git

cd activegraph

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Neo4j--ActiveRel--Persistence--QueryFactory-build--for-pr


# Commit to git

git add git commit -m "better docs for Neo4j::ActiveRel::Persistence::QueryFactory#build!"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Neo4j--ActiveRel--Persistence--QueryFactory-build--for-pr

hub pull-request


# Celebrate!