Submit
- korus.app.app_util.view.view_table_contents(conn, table_name, ids=None, columns=None, transform_fcn=<function <lambda>>)[source]
Print table contents in human-friendly format.
- Args:
- conn: sqlite3.Connection
Database connection
- table_name: str
Table name
- ids: int,list(int)
Row indices to include. If None, all rows will be printed.
- columns: str,list(str)
Columns to include. If None, all columns will be printed.
- transform_fcn: callable
Function with signature (name, value) -> value for transforming table values
- Returns:
None