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
- listRows result parsing issue
I'm using Appwrite Dart SDK "24.2.0". When I perform a listRows call in dart, I have this reponse in JSON: in " Future<models.RowList> listRows()" { "total" :...
- Index for combination of columns
How am i suppposed to apply index so that combination of two columns alwasy remain unique in appwrite table though console
- Broken Flutter SDK >=24.1.0
Row.fromMap now does: ``` data: Map<String, dynamic>.from(map["data"] ?? {}) ``` But Appwrite Cloud TablesDB row responses return custom row columns flattene...