Rank 1: Thread
Hello, I have been trying to list documents containing the following query:
const min = (+val.minimum).toFixed(2) // ex. "51.23"const max = (+val.maximum).toFixed(2) // ex. "82.12"
const result = await this.database.listDocuments( db.databaseId, Collection.IMAGES, [ Query.greaterThanEqual("score", min), Query.lessThanEqual("score", max), ]);```
but I keep getting the following response error:```json{ "message": "Query not valid: Query type does not match expected: double", "code": 400, "type": "general_argument_invalid", "version": "1.2.0"}```
the score attribute is a Float Attribute in the dbwhat is the correct way to query for double with appwrite?