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

Symbols not compared as expected in queries #425

Closed
zoren opened this issue Feb 16, 2022 · 0 comments · Fixed by #426
Closed

Symbols not compared as expected in queries #425

zoren opened this issue Feb 16, 2022 · 0 comments · Fixed by #426

Comments

@zoren
Copy link
Contributor

zoren commented Feb 16, 2022

The query:

(d/q
   '[:find [?e ...]
     :where [?e :s b]]
   '[[1 :s a]
     [2 :s b]])

returns [2 1] in datascript but I would expect [2] which is also what I get with Datomic.

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

Successfully merging a pull request may close this issue.

1 participant