Skip to content

basalt / audit-prisma/src / PrismaAuditClient

Interface: PrismaAuditClient ​

Defined in: audit-prisma/src/index.ts:57

Properties ​

auditEntry ​

> auditEntry: object

Defined in: audit-prisma/src/index.ts:58

count()? ​

> optional count(a): Promise<number>

Used by verify() to count unchained legacy rows (every generated client has it).

Parameters ​
a ​

any

Returns ​

Promise<number>

create() ​

> create(a): Promise<PAuditEntry>

Parameters ​
a ​

any

Returns ​

Promise<PAuditEntry>

findMany() ​

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

Parameters ​
a ​

any

Returns ​

Promise<PAuditEntry[]>

Released under the MIT License.