-
Notifications
You must be signed in to change notification settings - Fork 4.4k
🐛 Bug Report: Query not valid: Query type does not match expected: double on python SDK #5650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@ZigaMatjaz, thanks for raising this issue! There seems to be a problem with how were parsing and validating the query on the back end. It gets sent to the server has For now, I suggest using the greater than and less than queries instead. |
Please assign if available. |
please assign this issue to me |
Hi @Ronakkkkk you can go ahead, if you are not available to work on this, @EraKin575 can take it up after you |
Can i work on this issue? |
@Ronakkkkk, how's your progress on this? FYI, I'll have to assign you due to inactivity soon. |
@EraKin575, would you like to work on this? |
ofcourse |
@EraKin575, assigned! I appreciate your interest! 🙏🏼 |
const minDate = new Date();
minDate.setFullYear(minDate.getFullYear() - filterData?.maxAge);
const maxDate = new Date();
maxDate.setFullYear(maxDate.getFullYear() - filterData?.minAge);
Query.between("birthdate", minDate.toDateString(), maxDate.toDateString())
// Query.between("birthdate", minDate, maxDate)
@EraKin575 When you try to focus this issue, please focus it for not only for the |
Can I work on this issue? |
@EraKin575, how's your progress? FYI, I'll need to unassign you soon due to inactivity. |
Can I work on it? |
Hi, I’m Aaditya. I’d like to contribute to this issue. Can I get assigned? |
👟 Reproduction steps
Bug is triggered when I try to use the between Query on a float attribute.
👍 Expected behavior
The query should work as the provided parameters are both float and a result should be returned.
👎 Actual Behavior
I got the error specified in the title.
🎲 Appwrite version
Version 1.3.x
💻 Operating system
Linux
🧱 Your Environment
I run appwrite on a digitalocean droplet (marketplace appwrite premade droplet)
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: