# DerivedDataLayer.relations property · @imqueue/pg-prisma

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

Relations per MODEL, for the query translator.

**Signature:**

```typescript
relations: RelationMap;
```

## Remarks

Keyed by model rather than table, because the query surface a caller sends over the wire names models and fields — the physical table only matters below it.

