You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user is experiencing an issue with passing an array value during a search query. The solution is to check if the array is empty and only pass the query if it is not empty. The issue will be fixed in the next version of Appwrite. The user is advised to print the array value before the query to troubleshoot further. The user also mentions confusion between the terms 'enum' and 'array', and the correct usage is clarified.
👟 Reproduction steps
Just do a contains query with an array, the same query that is in documentation reproduce this bug:
Query.contains("ingredients", ['apple', 'banana'])
👍 Expected behavior
contains query should accept arrays too
👎 Actual Behavior
contains query only accept string
🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
Something else
🧱 Your Environment
No response
👀 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: