Powered by AppSignal & Oban Pro

event_stats

statistiken/event_stats.livemd

event_stats

require Ash.Query

Section

MyApp.LegacyEvent
|> Ash.Query.filter(category == "" or is_nil(category))
|> MyApp.Api.count!()

Hier hab ich versucht, alle Events zu zählen, die ~N[2018-03-27 02:00:00] als "End" haben. Hab's no ned hinbekommen.

MyApp.LegacyEvent
|> Ash.Query.filter(:end == "~N[2018-03-27 02:00:00]")
|> MyApp.Api.count!()