Back

Query by Integer

  • 0
  • Databases
  • Flutter
Mosh Ontong
9 Apr, 2023, 03:33

I have language_id which is a integer datatype, but when I query this in client side, just look the picture attach. But it gives me an error Query not valid: Query type does not match expected: integer

TL;DR
The user is experiencing an error when querying the `language_id` field, which is of integer datatype, on the client side. They are getting the error message "Query not valid: Query type does not match expected: integer." Another user suggests removing the `.toString()` conversion on `languageSelected.languageId`.
safwan
9 Apr, 2023, 07:56

you're converting the languageSelected.languageId to a string. try removing the .toString()

Mosh Ontong
9 Apr, 2023, 07:56

oh I see

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more