# DataLayer interface · @imqueue/pg-prisma

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

What [dataLayer()](https://imqueue.org/api/pg-prisma/latest/pg-prisma.datalayer_1/) hands back.

**Signature:**

```typescript
export interface DataLayer 
```

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [derived](https://imqueue.org/api/pg-prisma/latest/pg-prisma.datalayer.derived/) |  | [DerivedDataLayer](https://imqueue.org/api/pg-prisma/latest/pg-prisma.deriveddatalayer/) | The config this was built from. |
| [middleware](https://imqueue.org/api/pg-prisma/latest/pg-prisma.datalayer.middleware/) |  | readonly SqlMiddleware\[\] | Pass straight to the `middleware` option of `postgres()`. |


## Methods


| Method | Description |
| --- | --- |
| [close()](https://imqueue.org/api/pg-prisma/latest/pg-prisma.datalayer.close/) | Releases the audit pool. A no-op when nothing is recorded. |

