datomicism
datomicism copied to clipboard
Bigdec not supported in queries?
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]]