We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The documentation for Query.set_props() says:
Works the same as the #set method, but when given a nested array it will set properties rather than setting entire objects Examples: # Creates a query representing the cypher: MATCH (n:Person) SET n.age = 19 Query.new.match(n: :Person).set_props(n: {age: 19})
Works the same as the #set method, but when given a nested array it will set properties rather than setting entire objects
Examples:
# Creates a query representing the cypher: MATCH (n:Person) SET n.age = 19 Query.new.match(n: :Person).set_props(n: {age: 19})
However, the exact opposite is true:
Query.new.match(n: :Person).set_props(n: {age: 19}).to_cypher # => "MATCH (n: `Person`) SET n = {n_set_props}" Query.new.match(n: :Person).set(n: {age: 19}).to_cypher # => "MATCH (n: `Person`) SET n.`age` = {setter_n_age}"
Neo4j database version: 3.5.1 neo4j gem version: N/A neo4j-core gem version: 9.0.0
neo4j
neo4j-core
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The documentation for Query.set_props() says:
However, the exact opposite is true:
Runtime information:
Neo4j database version: 3.5.1
neo4j
gem version: N/Aneo4j-core
gem version: 9.0.0The text was updated successfully, but these errors were encountered: