Skip to content
New issue

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

Edge property filters should work exactly like node property filters #41

Open
drkameleon opened this issue Nov 4, 2023 · 0 comments
Open
Assignees
Labels
bug Something isn't working core functions Issues related to the main Grafito functions engine Issues related the Grafito database engine

Comments

@drkameleon
Copy link
Contributor

As of the latest PR, we can actually set properties for edges and create relevant queries.

However, the capabilities are not the same.

For example, we can do:

person [age: -> above: 30]

(if person is a node)

...but we can do:

person [
     livedIn: |> place [][
          duration: -> above 2
     ]
]

(where livedIn is an edge)

This has to be fixed. Pretty much, we'd have to copy the "filter-nodes-based-on-properties" implementation and replicate that in the equivalent for our edges.

@drkameleon drkameleon added bug Something isn't working engine Issues related the Grafito database engine labels Nov 4, 2023
@drkameleon drkameleon self-assigned this Nov 4, 2023
@drkameleon drkameleon added the core functions Issues related to the main Grafito functions label Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core functions Issues related to the main Grafito functions engine Issues related the Grafito database engine
Projects
None yet
Development

No branches or pull requests

1 participant