pub async fn mark_feed_read(
pool: &SqlitePool,
did: &str,
feed_id: i64,
read: bool,
) -> Result<u64>Expand description
Mark every entry of a feed read (or unread) for a DID in one statement —
backs the “mark-all-read (per feed)” action. Also projects the change into
the feed’s per-DID ReadCursor (dirty=1) so the batched flusher syncs the
new read-state to the PDS.