Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ReadAllStreams for getting all streams #143

Closed
mehdihadeli opened this issue Jul 5, 2023 · 2 comments
Closed

Support ReadAllStreams for getting all streams #143

mehdihadeli opened this issue Jul 5, 2023 · 2 comments

Comments

@mehdihadeli
Copy link

Hi,
I think currently there is no functionality for getting all streams, Is it possible to add it?

@YoEight
Copy link
Member

YoEight commented Jul 9, 2023

The database doesn't have a first class feature that returns you all streams. However there is a way to get around this by using projections, in this case the $streams projection: https://developers.eventstore.com/server/v22.10/projections.html#streams-projection

Please consider that projections aren't a free lunch so have a look on potential performance impact there: https://developers.eventstore.com/server/v22.10/projections.html#performance-impact

@mehdihadeli
Copy link
Author

Thanks,
I just wanted to get all streams and delete them one by one in my tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants