clean up 'update_items'
This commit is contained in:
parent
3748606e21
commit
0bb9a81d60
4 changed files with 104 additions and 34 deletions
|
|
@ -90,8 +90,8 @@ impl Feed {
|
|||
) -> Result<Vec<Item>> {
|
||||
let items: Result<Vec<Item>> = sqlx::query_as!(
|
||||
UnparsedItem,
|
||||
"SELECT i.id as `id!`, i.channel_id, i.guid, i.fetched_at, i.title,
|
||||
i.description, i.content
|
||||
"SELECT i.id as `id!`, i.channel_id, i.fetched_at, i.title, i.description,
|
||||
i.content
|
||||
FROM items i
|
||||
JOIN feed_items fi on i.id = fi.item_id
|
||||
WHERE feed_id = ? AND archived = FALSE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue