therubymug / keymaker

A multi-layer REST API Ruby wrapper for the neo4j graph database.
MIT License
62 stars 12 forks source link

Add cypher batch capability #12

Open benitoDeLaCasita opened 10 years ago

benitoDeLaCasita commented 10 years ago

Add an execute_cypher_batch method in service that takes an array of cypher queries. A query can be a string or a hash for parameters ( exemple: {query: 'MATCH (n { property: {property} }) RETURN n', :params => { property: 3 }} ).

therubymug commented 10 years ago

Hello @benitoDeLaCasita, thanks for the PR. Do you mind looking into the failures on Travis CI? https://travis-ci.org/therubymug/keymaker/builds/29139357