import { createDb } from "../packages/db/src/index.js"; async function run() { const { prisma } = createDb("postgres://ingowagner@127.0.0.1:5432/evoo"); const attempts = await prisma.attempt.findMany({ where: { runId: "cmu7jw8dr000biryyrethbore" }, orderBy: { startedAt: "asc" }, }); console.log("Attempts count:", attempts.length); for (const a of attempts) { console.log("Attempt:", a); } } run() .catch(console.error) .finally(() => process.exit(0));