Skip to content

Commit 1471af7

Browse files
committed
Clarify that not returning conflicting rows applies to insert_and_get as well
1 parent 5c82946 commit 1471af7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/conflict_handling.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ This is preferable when the data you're about to insert is the same as the one t
219219
# obj2 is none! object alreaddy exists
220220
obj2 = MyModel.objects.on_conflict(['name'], ConflictAction.NOTHING).insert(name="me")
221221
222-
This applies to both :meth:`~psqlextra.query.PostgresQuerySet.insert` and :meth:`~psqlextra.query.PostgresQuerySet.bulk_insert`
222+
This applies all methods: :meth:`~psqlextra.query.PostgresQuerySet.insert`, :meth:`~psqlextra.query.PostgresQuerySet.insert_and_get`, :meth:`~psqlextra.query.PostgresQuerySet.bulk_insert`
223223

224224

225225
Bulk

0 commit comments

Comments
 (0)