LogoRobo.js
Framework

JunctionTableDef

Interface: JunctionTableDef

Junction table schema definition.

Properties

PropertyTypeDescription
foreignKeyAstringFK field for modelA (e.g., 'postId').
foreignKeyBstringFK field for modelB (e.g., 'tagId').
modelAstringFirst model name (alphabetically).
modelBstringSecond model name.
namestringJunction model name (e.g., '_junction_post_tag').

On this page