Documentation ¶ Index ¶ func Build(tables []introspect.Table) ([]string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Build ¶ func Build(tables []introspect.Table) ([]string, error) Build returns table names in dependency order: referenced (parent) tables come before referencing (child) tables. Self-referencing FKs are ignored for ordering. Returns an error if a cyclic FK dependency (length >= 2) is detected. Types ¶ This section is empty. Source Files ¶ View all Source files plan.go Click to show internal directories. Click to hide internal directories.