Rank 2: Process
I have a database with dynamically created collections. Is it possible to search for properties in all collections in this database?
thanks
alnes
Votes
0
Replies
5
Participants
Unknown
Messages
6
Rank 2: Process
I have a database with dynamically created collections. Is it possible to search for properties in all collections in this database?
thanks
alnes
Rank 5: Hypervisor
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
Rank 2: Process
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....