pub async fn get_unread_for_did(
pool: &SqlitePool,
did: &str,
) -> Result<Vec<Entry>>Expand description
Unread entries for a DID: entries with no entry_state row for that DID, or
one where read = 0. Newest-published first. This is the daily-driver list
query, so it’s a LEFT JOIN (an entry with no state row is unread).