neo4jrb / neo4j-core

A simple unified API that can access both the server and embedded Neo4j database. Used by the neo4j gem
MIT License
99 stars 80 forks source link

Allow specifying planner and runtime for neo4j queries #329

Open dominikgrygiel opened 5 years ago

dominikgrygiel commented 5 years ago

This pull introduces

You can now specify planner and/or runtime for neo4j queries (https://neo4j.com/docs/cypher-manual/current/query-tuning/query-options/).

Neo4j::Core::Query.new(parser: 2.0, planner: 'cost', runtime: 'compiled')

Pings: @cheerfulstoic @subvertallchris