mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +02:00
Fixed bug in replacing foreign key constraints example
This commit is contained in:
parent
02e56d1158
commit
5d123f031f
1 changed files with 3 additions and 1 deletions
|
|
@ -1517,7 +1517,9 @@ The ``foreign_keys=`` parameter is similar to to ``add_foreign_keys=`` but can
|
|||
.. code-block:: python
|
||||
|
||||
db["places"].transform(
|
||||
add_foreign_keys=(("continent",))
|
||||
foreign_keys=(
|
||||
("continent", "continent", "id"),
|
||||
)
|
||||
)
|
||||
|
||||
.. _python_api_transform_drop_foreign_key_constraints:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue