mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-12 03:24:23 +02:00
Docs for sqlite_utils.db.TransformError
This commit is contained in:
parent
4d2274c53f
commit
b5257937cb
1 changed files with 2 additions and 0 deletions
|
|
@ -1402,6 +1402,8 @@ To keep the original table around instead of dropping it, pass the ``keep_table=
|
|||
|
||||
table.transform(types={"age": int}, keep_table="original_table")
|
||||
|
||||
This method raises a ``sqlite_utils.db.TransformError`` exception if the table cannot be transformed, usually because there are existing constraints or indexes that are incompatible with modifications to the columns.
|
||||
|
||||
.. _python_api_transform_alter_column_types:
|
||||
|
||||
Altering column types
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue