| 3 |
"query": "\n SELECT v.s3_key, v.file_name, v.version_number AS \"version_number!\", i.title AS \"item_title!\",\n p.id AS \"project_id!: super::ProjectId\", p.slug AS \"project_slug!: super::Slug\", v.file_size_bytes\n FROM versions v\n JOIN items i ON v.item_id = i.id\n JOIN projects p ON i.project_id = p.id\n WHERE p.user_id = $1 AND v.s3_key IS NOT NULL\n ORDER BY p.slug, i.sort_order, v.created_at DESC\n LIMIT $2\n ", |