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

Can I query by attribute values? #43

Open
OnkelTem opened this issue Apr 6, 2024 · 0 comments
Open

Can I query by attribute values? #43

OnkelTem opened this issue Apr 6, 2024 · 0 comments

Comments

@OnkelTem
Copy link

OnkelTem commented Apr 6, 2024

I'm stuck at this chapter:
https://www.learndatalogtoday.org/chapter/4

So I do this:

[:find ?e
 :where 
 [?e :db/ident :person/name]
]

and it shows me 68, but I can't do this:

[:find ?e ?a
 :where 
 [?e ?a :person/name]
]

— meaning to see all the entities with their attributes that equal to :person/name. The sandbox returns just an empty result set:

image

Why is that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant