I need retrieve all RavenDB collection names present into a database. Is there any way to do this? How?
I need retrieve all RavenDB collection names present into a database. Is there any
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’ve used the studio at all, you’ll see it created an index called
Raven/DocumentsByEntityName. If you don’t use the studio, or you want to ensure it’s there, you can build it yourself with:The way that Raven Studio builds it’s “collections” list is by getting the terms of the
Tagfield from this index. You can do the same thing:(If you expect more than 1024 different entity types for some reason, then paginate.)