Skip to content

Commit

Permalink
Add new parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Necoro committed Mar 4, 2017
1 parent 13c5bbf commit 0be525c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/peewee/playhouse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,8 @@ sqlite_ext API notes
:param model_class: The model class containing the nodes in the tree.
:param foreign_key: The self-referential parent-node field on the model class. If not provided, peewee will introspect the model to find a suitable key.
:param referencing_class: The intermediate table for a many-to-many relationship.
:param id_column: For a many-to-many relationship: the originating side of the relation.
:return: Returns a :py:class:`VirtualModel` for working with a closure table.
.. warning:: There are two caveats you should be aware of when using the ``transitive_closure`` extension. First, it requires that your *source model* have an integer primary key. Second, it is strongly recommended that you create an index on the self-referential foreign key.
Expand Down

0 comments on commit 0be525c

Please sign in to comment.