Files
vibe-kanban/backend/.sqlx/query-f72efcb41e92e03b8f8b988017d3b1c509322dc560742e9ef77fb9532b748fce.json

21 lines
872 B
JSON
Raw Normal View History

2025-06-16 19:51:48 -04:00
{
2025-06-17 15:22:47 -04:00
"db_name": "SQLite",
2025-06-16 19:51:48 -04:00
"query": "SELECT DISTINCT ta.id \n FROM task_attempts ta\n INNER JOIN (\n SELECT task_attempt_id, MAX(created_at) as latest_created_at\n FROM task_attempt_activities\n GROUP BY task_attempt_id\n ) latest_activity ON ta.id = latest_activity.task_attempt_id\n INNER JOIN task_attempt_activities taa ON ta.id = taa.task_attempt_id \n AND taa.created_at = latest_activity.latest_created_at\n WHERE taa.status = $1",
"describe": {
"columns": [
{
"name": "id",
2025-06-17 15:22:47 -04:00
"ordinal": 0,
"type_info": "Text"
2025-06-16 19:51:48 -04:00
}
],
"parameters": {
2025-06-17 15:22:47 -04:00
"Right": 1
2025-06-16 19:51:48 -04:00
},
"nullable": [
2025-06-17 15:22:47 -04:00
true
2025-06-16 19:51:48 -04:00
]
},
"hash": "f72efcb41e92e03b8f8b988017d3b1c509322dc560742e9ef77fb9532b748fce"
}