const { PrismaClient } = require('@prisma/client');
const prisma = new PrismaClient();

async function main() {
  const records = await prisma.audioRecord.findMany({
    take: 1
  });
  
  const list = records.map((r) => ({
    _id: r.audioId,
    id: r.audioId,
    title: r.title,
    bookId: r.bookId,
  }));
  
  console.log('Result:', JSON.stringify(list, null, 2));
}

main().then(() => process.exit(0));
