LogoRobo.js
Framework

RelationFieldValue

Interface: RelationFieldValue

Relation field value in create/update data. Supports nested create, connect, and disconnect.

Properties

PropertyTypeDescription
connect?| { id: string; } | { id: string; }[]Connect to existing record(s) by ID.
create?Record<string, unknown> | Record<string, unknown>[]Create new related record(s).
disconnect?| true | { id: string; } | { id: string; }[]Disconnect from existing record(s).
set?{ id: string; }[]Set relations to exactly these IDs (manyToMany only).

On this page