datomicism icon indicating copy to clipboard operation
datomicism copied to clipboard

Bigdec not supported in queries?

Open ulsa opened this issue 13 years ago • 0 comments

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]]

ulsa avatar Dec 03 '12 13:12 ulsa