sqlite-utils schema now takes optional tables, closes #299

This commit is contained in:
Simon Willison 2021-07-24 15:08:36 -07:00
commit ab8d4aad0c
3 changed files with 55 additions and 17 deletions

View file

@ -525,6 +525,11 @@ The ``sqlite-utils schema`` command shows the full SQL schema for the database::
[name] TEXT
);
This will show the schema for every table and index in the database. To view the schema just for a specified subset of tables pass those as additional arguments::
$ sqlite-utils schema dogs.db dogs chickens
...
.. _cli_analyze_tables:
Analyzing tables