# DataLayerAudit interface · @imqueue/pg-prisma

Source: https://imqueue.org/api/pg-prisma/latest/pg-prisma.datalayeraudit/
Published: 2026-08-28
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-prisma 2.0.0 — generated reference, not hand-written

The audit half of [DataLayerOptions](https://imqueue.org/api/pg-prisma/latest/pg-prisma.datalayeroptions/), omitted to record nothing.

**Signature:**

```typescript
export interface DataLayerAudit 
```

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [config?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.datalayeraudit.config/) |  | [AuditConfig](https://imqueue.org/api/pg-prisma/latest/pg-prisma.auditconfig/) | _(Optional)_ Where the trail goes. Omitted, the conventional table and columns. |
| [connectionString](https://imqueue.org/api/pg-prisma/latest/pg-prisma.datalayeraudit.connectionstring/) |  | string | Connection string for the trail's own pool. |
| [getPrincipal](https://imqueue.org/api/pg-prisma/latest/pg-prisma.datalayeraudit.getprincipal/) |  | () => unknown | Resolves the actor to record, or a falsy value to record none. |

