
imagine i have an attribute named hashtags
which is string array
of hashtags (ie, like twitter hashtags),
in query, i have to get all the docs which have "hashtag1" or "hashtag2" in its hashtags colum.
how to implement it ??

I think that you can use Query.equal(atrb, [...hastags])

[hashtag1, hashtag2] means hashtag1 or hashtag2

it does give empty result

Queries against arrays are not supported at the moment. Make sure to π this issue: https://github.com/appwrite/appwrite/issues/2838
That said, there is a hack where you can create a full text index on the attribute and then use the search query.

But in that hack, only 1 keyword can be searched with a single query right?

There is no option to do "OR" on search.. right?

And why is the custom query option not yet available? It would give developers more freedom i guess

You can search space separated keywords.

Because Appwrite is supposed to be an abstraction over the underlying database

thankss.. that's what i needed
Recommended threads
- 2 Columns still processing since yesterd...
Hey o/ Yesterday (around <t:1758045600:f>), I created a database and added several columns to it. After about 15 minutes, most of the "processing" tags disappe...
- 503 Timeout when Updating or Upserting D...
Hey Iβm running into an issue when trying to update or upsert a row in Appwrite. The request hangs for a while and then throws this error: ``` AppwriteException...
- Row with the requested ID already exists...
Iβm hitting a blocking issue creating rows in Appwrite (both from the console and my React Native app). After successfully inserting the first row, every subseq...
