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.
Methods
Section titled “Methods”create()
Section titled “create()”create(
args):PromiseLike<any>
Parameters
Section titled “Parameters”any
Returns
Section titled “Returns”PromiseLike<any>
createManyAndReturn()?
Section titled “createManyAndReturn()?”
optionalcreateManyAndReturn(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).
Parameters
Section titled “Parameters”any
Returns
Section titled “Returns”PromiseLike<any[]>
findFirst()
Section titled “findFirst()”findFirst(
args):PromiseLike<any>
Parameters
Section titled “Parameters”any
Returns
Section titled “Returns”PromiseLike<any>
updateMany()
Section titled “updateMany()”updateMany(
args):PromiseLike<{count:number; }>
Parameters
Section titled “Parameters”any
Returns
Section titled “Returns”PromiseLike<{ count: number; }>