Skip to content

Cypher : Fail to match when key is a param #3476

@ExtReMLapin

Description

@ExtReMLapin

Hello

Creation query :

CREATE (n:USER_RIGHTS {user_name: "random_username_123"}) RETURN n

Query :

MATCH (n:USER_RIGHTS {user_name: "random_username_123"}) RETURN n works when the string is in the query, but

If you go like

MATCH (n:USER_RIGHTS {user_name: $username}) RETURN n

and with username random_username_123 in params, it matches nothing.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions