pub fn render_table(t: &Table) -> StringExpand description
Render a Table as SQL.
Produces:
CREATE TABLE <qname> (...);— with inline columns and all non-FK constraints.- Optional
COMMENT ON TABLE ... IS '...'; - Optional
COMMENT ON COLUMN ...for each column that has a comment.
FK constraints are NOT included inline; use render_add_fk for those.