I have a database with dynamically created collections. Is it possible to search for properties in all collections in this database?
thanks alnes
No
No, not currently. You can only search in one collection
[SOLVED] is it possible to use listDocuments with a wildcard collection ID ?
you can list all collections, then search in all collections and agregate the results
That's what I thought too, it just doesn't seem too performant to me. Luckily, I found a solution to put all the data to be searched into one collection - with no duplicates in the database. But suffer with string array and then IDs there - is searched with Query.search. It works fine, I would have preferred to use Query.equal and go straight to the properties....
Recommended threads
- Transaction Error
AppwriteException: Transaction with the requested ID could not be found. at Generator.next (<anonymous>) { code: 404, type: 'transaction_not_found', r...
- Auto Updating Backend & Auth via Appwrit...
<@870607367597850624> Hey everyone π I wanted to ask to ask for a friend, heβs asking if Appwrite be used in a similar way to Supabase when integrated with AI ...
- Is Database Operators available in Cloud...
Is it possible to do the above?