mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-26 19:04:32 +02:00
Test for analyze-tables --save
This commit is contained in:
parent
f7efe77ccb
commit
c0d21956bc
2 changed files with 49 additions and 4 deletions
|
|
@ -1396,9 +1396,10 @@ def analyze_tables(
|
|||
column, total_rows=table_counts[table]
|
||||
)
|
||||
if save:
|
||||
db["_analyze_tables"].insert(
|
||||
db["_analyze_tables_"].insert(
|
||||
column_details._asdict(), pk=("table", "column"), replace=True
|
||||
)
|
||||
|
||||
click.echo("{}/{}: {}".format(i + 1, len(todo), column_details))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue