Download ops/backend-dm/scripts/verify_seed.js from MouleeswaranM/FairRelay: direct link, hf CLI and curl.
- Browser
- Download file 407 Bytes
-
https://huggingface.co/MouleeswaranM/FairRelay/resolve/main/ops/backend-dm/scripts/verify_seed.js
- Command line
-
hf download hf://MouleeswaranM/FairRelay/ops/backend-dm/scripts/verify_seed.js
-
curl -L -o verify_seed.js https://huggingface.co/MouleeswaranM/FairRelay/resolve/main/ops/backend-dm/scripts/verify_seed.js
407 Bytes
| const { PrismaClient } = require('@prisma/client'); | |
| const prisma = new PrismaClient(); | |
| async function check() { | |
| const deliveries = await prisma.delivery.count(); | |
| const users = await prisma.user.count(); | |
| const trucks = await prisma.truck.count(); | |
| const hubs = await prisma.virtualHub.count(); | |
| console.log({ deliveries, users, trucks, hubs }); | |
| await prisma.$disconnect(); | |
| } | |
| check(); | |