Type Alias PrismaDataDumpOptions

PrismaDataDumpOptions: {
    limit: number;
    omitFields: string[];
}

Options for prisma.client.dumpData.

Type declaration

  • limit: number

    The max number of entries to load per model. Set to 0 to remove this limit altogether (which could be very expensive for your database).

    100
    
  • omitFields: string[]

    Strings to omit from the dumped data. For testability, omitting date or UUID id fields is a common practice.