Skip to content

PrismaUserDelegate

The structural shapes of the Prisma model delegates the stores call. Prisma generates a different delegate type per model, so the stores accept anything with these methods.

create(args): PromiseLike<any>

any

PromiseLike<any>


optional createManyAndReturn(args): PromiseLike<any[]>

Generated by Prisma for PostgreSQL, CockroachDB and SQLite. When present, sign-up first tries it with skipDuplicates, so on PostgreSQL and CockroachDB a taken address is no failed statement. Where Prisma refuses that (SQLite, a nested createData), the store falls back to create (see PrismaUserStore.create).

any

PromiseLike<any[]>


findFirst(args): PromiseLike<any>

any

PromiseLike<any>


updateMany(args): PromiseLike<{ count: number; }>

any

PromiseLike<{ count: number; }>