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
- SSR share session to client using custom...
Hi, so I was trying to get a hang of using SSR and using realtime updates in the same time which is done easiest if you have a custom domain in Appwrite and as ...
- Setup Permissions to only allow resource...
I would like to know how you do this in Appwrite Databases. Any ideas?
- [SOLVED] Get Relations when using Tables...
Hi there, I have a table containing a relation column with a one-to-many relationship to another table. When Using TablesDB.GetRow in "node-appwrite" i get all ...