Skip to content

Commit b525793

Browse files
committed
Docs for sqlite_utils.db.TransformError
1 parent 4d2274c commit b525793

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/python-api.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,6 +1402,8 @@ To keep the original table around instead of dropping it, pass the ``keep_table=
14021402
14031403
table.transform(types={"age": int}, keep_table="original_table")
14041404
1405+
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.
1406+
14051407
.. _python_api_transform_alter_column_types:
14061408

14071409
Altering column types

0 commit comments

Comments
 (0)