EventStore / EventStore-Client-Dotnet

Dotnet Client SDK for the Event Store gRPC Client API written in C#
Other
140 stars 38 forks source link

Filtering on streams #251

Closed mehdihadeli closed 11 months ago

mehdihadeli commented 1 year ago

Hi, Is it possible filtering in the context of all streams, or it is just possible with projections? Currently, there is functionality for getting stream by streamId, what about some more advanced filters?

bartelink commented 1 year ago

There are two sets of APIs - All, and Stream level. That's the fundamental way in which ESDB operates.

The All APIs let you specify filters; the Stream ones only support paging and not much in the way of filtering. In general these are the two typical modes of accessing the data.

I'd recommend:

timothycoleman commented 11 months ago

Hi @mehdihadeli yes there are some examples here https://github.com/EventStore/EventStore-Client-Dotnet/blob/master/samples/server-side-filtering/Program.cs let us know if you have any more questions

mehdihadeli commented 11 months ago

@timothycoleman Thanks