Notified.Queries.UnseenQuery (notified v0.0.2)

Link to this section Summary

Functions

Return a query that only returns notifications that haven't been seen.

Link to this section Functions

Specs

call() :: Ecto.Query.t()

Return a query that only returns notifications that haven't been seen.

The etso adapter only has basic query support and does not support is_nil or aggregate yet. For now, we can use an extra boolean field. https://github.com/evadne/etso/issues/15