mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-27 12:24:11 +02:00
will, not may - refs #468
This commit is contained in:
parent
104f37fa4d
commit
365f62520f
1 changed files with 1 additions and 1 deletions
|
|
@ -554,7 +554,7 @@ To do nothing if the table already exists, add ``if_not_exists=True``:
|
||||||
"name": str,
|
"name": str,
|
||||||
}, pk="id", if_not_exists=True)
|
}, pk="id", if_not_exists=True)
|
||||||
|
|
||||||
You can also pass ``transform=True`` to have any existing tables :ref:`transformed <python_api_transform>` to match your new table specification. This is a **dangerous operation** as it may drop columns that are no longer listed in your call to ``.create()``, so be careful when running this.
|
You can also pass ``transform=True`` to have any existing tables :ref:`transformed <python_api_transform>` to match your new table specification. This is a **dangerous operation** as it will drop columns that are no longer listed in your call to ``.create()``, so be careful when running this.
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue