You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently I'm working on a small reporting tool that will output some of our events (create and change events for a specific type) into a csv specific by a start time and end time.
Unfortunatly via QueryRawEventDataOnly it's not possible to filter by multiple types. and QueryAllRawEvents does not expose the type parameter.
At the moment the only thing it might be possible would be to do client side filtering:
var events = await session.Events
.QueryAllRawEvents()
.Where(t => t.Timestamp >= firstDayOfMonth && t.Timestamp < firstDayOfNextMonth)
.ToListAsync();
events.Where(t => t is Event<TenantCreateEvent> || t is Event<TenantChangeEvent>).ToList()
it would be at least great to expose the type param to IEvent
The text was updated successfully, but these errors were encountered:
currently I'm working on a small reporting tool that will output some of our events (create and change events for a specific type) into a csv specific by a start time and end time.
Unfortunatly via
QueryRawEventDataOnly
it's not possible to filter by multiple types. andQueryAllRawEvents
does not expose thetype
parameter.At the moment the only thing it might be possible would be to do client side filtering:
it would be at least great to expose the
type
param toIEvent
The text was updated successfully, but these errors were encountered: