Skip to main content

2 docs tagged with "foreign key"

View all tags

Now.ref

Now.ref() creates a reference to a record in another table. Use it when a field needs to point to a record that isn't defined in the current file — for example, referencing a role, a flow, or any record identified by its sys_id or coalesce keys.

ReferenceColumn

Defines a reference (foreign key) column that links a record to a row in another table. Use referenceTable to specify the target table and cascadeRule to control what happens to referencing records when the target is deleted.