Scroll to navigation

PWIZ(1) User Commands PWIZ(1)

NAME

pwiz - peewee model generator

SYNOPSIS

pwiz [options] database_name

OPTIONS

show this help message and exit

-H HOST, --host=HOST

-p PORT, --port=PORT

-u USER, --user=USER

-P, --password

Database type, e.g. sqlite, mysql, postgresql or cockroachdb. Default is "postgresql".

-s SCHEMA, --schema=SCHEMA

Only generate the specified tables. Multiple table names should be separated by commas.
Generate model classes for VIEWs in addition to tables.
Add database information and other metadata to top of the generated file.
Model definition column ordering matches source table.
Ignore fields whose type cannot be determined.
Use legacy table- and column-name generation.
March 2021 pwiz 3.14.1+dfsg