Skip to content

basalt / events-prisma/src / PrismaEventsClient

Interface: PrismaEventsClient ​

Defined in: events-prisma/src/index.ts:80

The minimal Prisma delegate surface the store calls — a real PrismaClient with the OutboxEntry model is assignable, so pass it directly. Method arguments are typed any on purpose (Prisma's generated method generics can't be reproduced by a hand-written interface); return types stay precise.

Properties ​

outboxEntry ​

> outboxEntry: object

Defined in: events-prisma/src/index.ts:81

findMany() ​

> findMany(a): Promise<POutbox[]>

Parameters ​
a ​

any

Returns ​

Promise<POutbox[]>

updateMany() ​

> updateMany(a): Promise<{ count: number; }>

Parameters ​
a ​

any

Returns ​

Promise<{ count: number; }>

upsert() ​

> upsert(a): Promise<POutbox>

Parameters ​
a ​

any

Returns ​

Promise<POutbox>

Released under the MIT License.