Can you show configuration of your attributs ?
Are you on cloud or self hosted ?
Cloud
I think this is a bug on Appwrite's side
I am passing 56 to breadth which needs Double value
It is failing then
But if I pass 56.5 to breadth, it will pass
Yes, to query float type on cloud, you need to pass float
It's fix with new version (wich isn't already on cloud)
Yes, in JavaScript every number is float by default
Will passing string work?
Nope
Yes tried it
didnt work
then try passing 56.0 and see if it works
Not possible in JavaScript
um is that so? i don't think i've faced any issues with .0 ๐ค
see I am storing these values in a variable, if there is 56.0 value, JavaScript will automatically turn it into 56
I mean I might be wrong.
Why don't you pass a string like Number('56.0') or something
Not sure why this is happening tbh
I'm gonna test this on my end
Okay, but you can't pass string as well. I tested that
It's a bug that needs to be solved
Are you on cloud?
yes
Recommended threads
- Does Appwrite allow SSE ?
i'm trying to setup a slack bot on my site. Your deployed SSE endpoint is returning a nonโSSE response โฆand the browser immediately closes the connection. read...
- The console isnt showing documents
In console ui saved documents are being shown on frontend but i can see its showing 4 or number of docs available but in rows its only showing single doc and th...
- 1.8.1 - Databases - inline updating a ro...
When updating a database field via the inline edit method, the `$updatedAt` column does not get updated. Only if the row is updated by the "Update" interface (t...