You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
count = conn.execute("SELECT COUNT(*) FROM checkpoint_drafts").fetchone()[0]
print(f"Total rows: {count}")
# Search for draft
rows = conn.execute("SELECT draft_id, version, status FROM checkpoint_drafts WHERE draft_id LIKE ?", ('4449%',)).fetchall()
print(f"Found by pattern: {[dict(r) for r in rows]}")
# Try task_id search
rows2 = conn.execute("SELECT draft_id, version, status, preview FROM checkpoint_drafts WHERE task_id LIKE ? ORDER BY created_at DESC LIMIT 5", ('2f9ccc48%',)).fetchall()