pub async fn upsert_feed(pool: &SqlitePool, feed: &NewFeed) -> Result<i64>Expand description
Insert a feed by URL, or update its metadata if the URL already exists. Returns the feed’s row id (existing or newly assigned).
pub async fn upsert_feed(pool: &SqlitePool, feed: &NewFeed) -> Result<i64>Insert a feed by URL, or update its metadata if the URL already exists. Returns the feed’s row id (existing or newly assigned).