Skip to content

Composite

Any table that references a Postgres Composite Type will be ignored.

CREATE TYPE inventory_item AS (
name text,
supplier_id integer,
price numeric
);
CREATE TABLE ... (
-- ...
item inventory_item,
-- ...
);

no-orm generate will print a warning when it comes across a composite type.