# Relation interface · @imqueue/pg-prisma

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

**Signature:**

```typescript
export interface Relation 
```

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [cardinality?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.relation.cardinality/) | `readonly` | string | _(Optional)_ |
| [on?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.relation.on/) | `readonly` | { readonly localFields?: readonly string\[\]; readonly targetFields?: readonly string\[\]; } | _(Optional)_ |
| [to?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.relation.to/) | `readonly` | { readonly model?: string; } | _(Optional)_ |

