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
Neography::SyntaxException: Parameter maps cannot be used in MATCH patterns (use a literal map instead, eg. "{id: {param}.id}") (line 1, column 21 (offset: 20)) "MATCH (fromNode)-[{relationship}]->(toNode) "
My match statement has an error, even though I pass the value to the relationship string:
query_response = @neo.execute_query("MATCH (fromNode)-[{relationship}]->(toNode) WHERE fromNode.bot_client_id = {bot_client_id} AND toNode.epoch_utc_i > {fromTime} AND toNode.epoch_utc_i < {toTime} RETURN toNode.value LIMIT {limit}", { :fromTime => fromTime, :toTime => toTime, :bot_client_id => @bot_client_id, :limit => limit, :relationship => relationship.to_sym } )
query_response = @neo.execute_query("MATCH (fromNode)-[{relationship}]->(toNode) WHERE fromNode.bot_client_id = {bot_client_id} AND toNode.epoch_utc_i > {fromTime} AND toNode.epoch_utc_i < {toTime}
RETURN toNode.value LIMIT {limit}", { :fromTime => fromTime, :toTime => toTime, :bot_client_id => @bot_client_id, :limit => limit, :relationship => relationship.to_sym } )
The text was updated successfully, but these errors were encountered:
@neo.execute_query("MATCH (fromNode)-[:" +relationship + "]->(toNode) WHERE fromNode.bot_client_id = {bot_client_id} AND toNode.epoch_utc_i > {fromTime} AND toNode.epoch_utc_i < {toTime}"
Sorry, something went wrong.
You can't use a parameter for a relationship type.
No branches or pull requests
My match statement has an error, even though I pass the value to the relationship string:
The text was updated successfully, but these errors were encountered: