Skip to content

Commit

Permalink
Additional docs fix refs #2876
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Apr 22, 2024
1 parent e1153d8 commit 6187416
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/peewee/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4231,7 +4231,7 @@ Model
The default return value is the number of rows modified. However,
when using Postgres, Peewee will return a cursor by default that
yields the primary-keys of the inserted rows. To disable this
functionality with Postgres, use an empty call to ``returning()``.
functionality with Postgres, use ``as_rowcount()``.

.. py:classmethod:: insert_from(query, fields)
Expand Down Expand Up @@ -4259,7 +4259,7 @@ Model
The default return value is the number of rows modified. However,
when using Postgres, Peewee will return a cursor by default that
yields the primary-keys of the inserted rows. To disable this
functionality with Postgres, use an empty call to ``returning()``.
functionality with Postgres, use ``as_rowcount()``.

.. py:classmethod:: replace([__data=None[, **insert]])
Expand Down

0 comments on commit 6187416

Please sign in to comment.