Skip to content

Commit

Permalink
Fixed bug in replacing foreign key constraints example
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Sep 6, 2023
1 parent 02e56d1 commit 5d123f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/python-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5d123f0

Please sign in to comment.