RNeo4j icon indicating copy to clipboard operation
RNeo4j copied to clipboard

Feature Request: getLabeledNodes to accept "starts with", "ends with", "contains"

Open graham-macleod opened this issue 6 years ago • 0 comments

It's great that you can filter the list, but unfortunately you can only filter by complete strings.

Changing the getLabeledNodes code to accept "starts with", "ends with", "contains" would improve usability.

Currently you can do the following

getLabeledNodes(graph, "LabelName", attribute = "searchvalue")

to improve functionality this could be altered to accept up to 5 parameters, still ensuring only one attribute is filtered on.

getLabeledNodes(graph, "LabelName", attribute, "starts with", "sear")
getLabeledNodes(graph, "LabelName", attribute, "ends with", "alue")
getLabeledNodes(graph, "LabelName", attribute, "contains", "chva")

graham-macleod avatar Jun 13 '18 21:06 graham-macleod