Redmage/db/queries/images.sql
2024-04-09 21:49:23 +07:00

5 lines
114 B
SQL

-- name: RecentlyAddedImages :many
SELECT * FROM images
WHERE created_at > ?
ORDER BY created_at
LIMIT ? OFFSET ?;