Tables
changed(() => { const table = plusTables.find(tbl => tbl._id === e.detail) fromColumn = table?.name || "" fromPrimary = table?.primary?.[0] })} secondaryTableChanged={e => changed(() => { const table = plusTables.find(tbl => tbl._id === e.detail) toColumn = table.name || "" fromForeign = null })} /> {#if isManyToOne && fromId} changed(() => { throughToKey = null throughFromKey = null })} /> {#if fromId && toId && throughId} {/if} {:else if isManyToOne && toId}
{#if originalFromColumnName != null} {/if}