import { PrismaClient , user } from '@prisma/client' ; async function main ( ) { const prisma = new PrismaClient ( ) ; const users = [ { email : '1' , age : 1 } , { email : '2' , age : 1 } , { email : '3' , age : 1 } , { email : '4' , age : 1 } , ] ; const result = await prisma . user . createMany ( { data : users , } ) ; } main ( ) . catch ( ( e ) => { console . error ( e ) ; } ) ;