Files
boot-dev-blog-aggregator/sql/queries/markFeeedFetched.sql
2025-03-11 15:25:52 +02:00

3 lines
141 B
SQL

-- name: MarkFeedFetched :one
UPDATE feeds SET last_fetched_at = CURRENT_TIMESTAMP, updated_at = CURRENT_TIMESTAMP WHERE id = $1
RETURNING *;