relate

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package relate derives a relationship graph from foreign-key metadata in an IR Catalog.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Derive

func Derive(cat *irv1.Catalog) []*irv1.Relationship

Derive inspects every table's FK constraints in cat and returns a deterministic slice of Relationship edges. It never panics.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL