Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 30 Oct 2026. What's built · Install 0.1.0
jadpo
Reference: Data

Data · rule

data.on_delete_not_reference

Field that is not a reference sets on_delete.

Area 5, Data; not declinable; the next step is usually the agent's.

example
entity Note {    id: Uuid    title: Text {        on_delete: OnDelete.cascade    }}
text
error: `Note.title` isn't a reference --> main.jadpo:4:20  |4 |         on_delete: OnDelete.cascade  |                    ^^^^^^^^^^^^^^^^ nothing to delete  reason: `on_delete:` says what deleting a referenced record does, so it belongs only on a field typed `X.id`.  next: Remove `on_delete:` (agent)  rule: data.on_delete_not_reference  help: https://jadpo.dev/docs/errors/data.on_delete_not_referencecheck failed: 1 error, 1 file

Markdown for agents: /docs/errors/data.on_delete_not_reference.md.Built from Jadpo main at a707efb.