Skip to content

basalt / ai/src / relationForeignKeys

Function: relationForeignKeys() ​

> relationForeignKeys(entity): PlanField[]

Defined in: ai/src/make/relations.ts:18

Synthetic FK fields (String) for an entity's relations — feed the Zod schema, mapper and columns.

Parameters ​

entity ​

PlanEntity

Returns ​

PlanField[]

Released under the MIT License.