mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +02:00
table.create_index(..., analyze=True), refs #378
This commit is contained in:
parent
541f64ddb0
commit
0d10402f7b
3 changed files with 19 additions and 3 deletions
|
|
@ -2204,6 +2204,8 @@ You can create a unique index by passing ``unique=True``:
|
|||
|
||||
Use ``if_not_exists=True`` to do nothing if an index with that name already exists.
|
||||
|
||||
Pass ``analyze=True`` to run ``ANALYZE`` against the new index after creating it.
|
||||
|
||||
.. _python_api_analyze:
|
||||
|
||||
Optimizing index usage with ANALYZE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue