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

Bigdec not supported in queries? #4

Open
ulsa opened this issue Dec 3, 2012 · 0 comments
Open

Bigdec not supported in queries? #4

ulsa opened this issue Dec 3, 2012 · 0 comments

Comments

@ulsa
Copy link

ulsa commented Dec 3, 2012

I tried a query with a constant value 29M for the price, and it worked fine. When I made it a parameter named ?price it appeared in the parameter area. That's cool. But when I entered 29M in the textfield and executed the query, I got no results. Any idea?

Works:

[:find ?book ?title
 :in $
 :where [?book :book/price 29M] 
        [?book :book/title ?title]]

Doesn't work with 29, 29M, 29.0:

[:find ?book ?title
 :in $ ?price
 :where [?book :book/price ?price] 
        [?book :book/title ?title]]
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