Skip to content

Commit

Permalink
Merge pull request #4 from silverlogic/neo4jrb-8.1.3
Browse files Browse the repository at this point in the history
Fix query for neo4jrb 8
  • Loading branch information
whatSocks committed Sep 8, 2017
2 parents afe9f7f + 23ab41d commit 2de8d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/graph_starter/asset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def self.property_name_and_uuid_and_ruby_type_query
[property, SecureRandom.uuid, type]
end

Neo4j::ActiveBase.current_session.query
Neo4j::ActiveBase.new_query
.with('{array} AS array')
.unwind('array AS row')
.params(array: properties_and_uuids_and_ruby_types)
Expand Down

0 comments on commit 2de8d31

Please sign in to comment.