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
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...