Skip to content

Commit 5d123f0

Browse files
authored
Fixed bug in replacing foreign key constraints example
1 parent 02e56d1 commit 5d123f0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/python-api.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1517,7 +1517,9 @@ The ``foreign_keys=`` parameter is similar to to ``add_foreign_keys=`` but can
15171517
.. code-block:: python
15181518
15191519
db["places"].transform(
1520-
add_foreign_keys=(("continent",))
1520+
foreign_keys=(
1521+
("continent", "continent", "id"),
1522+
)
15211523
)
15221524
15231525
.. _python_api_transform_drop_foreign_key_constraints:

0 commit comments

Comments
 (0)