Skip to content

Can I query by attribute values? #43

@OnkelTem

Description

@OnkelTem

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions