aplbrain / aplbrain/grand-cypher
Feature Request: Support for ANY Clause in WHERE for List Filtering
- Vorherrschende Sprache
- Python
- Sterne
- 129
- Forks
- 17
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
Thank you for your work on this project!
I am suggest a feature that would greatly enhance the flexibility of this library.
## Feature Request:
I would like to request the addition of support for the ANY clause within WHERE conditions. Specifically, the goal is to allow filtering over a list of dictionaries (e.g., [{key: value}, {key: value}]) to check if any element within the list meets a given condition.
## Current Situation:
At the moment, I am working with data structured as lists of dictionaries, and there doesn’t seem to be a way to use the WHERE clause effectively to filter and return items based on whether any element in such lists meets certain criteria.
Example Scenario:
```
MATCH (n:NodeLabel)
WHERE ANY(item IN n.listProperty WHERE item.key1 = "specificValue")
RETURN n
```
##
Benefit of the Feature:
Adding this functionality would provide users the ability to:
• Perform more complex and expressive queries involving lists and nested data structures.
• Enhance the ability to filter and return results based on conditions within list properties.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.