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

possible unmentioned syntax sugar #22

Open
jkroso opened this issue Nov 29, 2014 · 0 comments
Open

possible unmentioned syntax sugar #22

jkroso opened this issue Nov 29, 2014 · 0 comments

Comments

@jkroso
Copy link

jkroso commented Nov 29, 2014

I struggled a bit with chapter 4 where it shows that if you put a variable in the attribute position it will become an attribute entity id rather than a keyword as I would of expected. Does that mean that this:

[:find ?p
 :where
 [?p :person/name "jake"]]

Is really just syntax sugar for this:

[:find ?p
 :where
 [?a :db/ident :person/name]
 [?p ?a "jake"]]

If so I think it would be worth a mention

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