compile_sql¶
Provides the ‘sql’ sub-command including argument parsing.
-
pg_db_tools.commands.compile_sql.
error_chain
(e)¶
-
pg_db_tools.commands.compile_sql.
setup_command_parser
(subparsers)¶ Sets up a new sub parser for the sql command and adds it to the provided subparsers
-
pg_db_tools.commands.compile_sql.
sql_command
(args)¶ Entry point for the sql sub-command after parsing the arguments
compile_dot¶
Provides the dot
sub-command including argument parsing.
-
pg_db_tools.commands.compile_dot.
configure_out_file
(filepath, encoding)¶ Return text file object (either normal file or stdout) with proper encoding configured
-
pg_db_tools.commands.compile_dot.
dot_command
(args)¶
-
pg_db_tools.commands.compile_dot.
setup_command_parser
(subparsers)¶
-
pg_db_tools.commands.compile_dot.
setup_table_filters
(select_tables, exclude_tables)¶