_alnes_Original post
Rank 2: Process
TypeScript
this.database.listDocuments(this.joinedUserDatabaseId, this.joinedUserCollectionId,[Query.search('email', search), Query.notEqual('email', ignoreThisEmail)])email value is: a-sample@sample.com
I just get an empty array back. With "_" in the mail and of course only characters/numbers works perfectly.
I use Appwrite Cloud and Angular with Sdk.
I just can't explain it for me 😕
thanks for any help.
greets matze
Summary
The user is having trouble searching for values with "-" characters in an Appwrite database using the Query.search method. They have checked the Appwrite documentation but couldn't find a solution. They have provided a code snippet where they are trying to search the email field for a specific value. The email value they are searching for is "a-sample@sample.com". However, they are getting an empty array as a result. Searching for values with "_" in the email works fine. The user is using Appwrite Cloud and Angular with Sdk. They are looking for help or an explanation for why this is happening.
Solution:
It seems that the