Skip to content

Commit efeba1f

Browse files
committed
Prior to sqlite-utils 4.0
Refs #652 (comment)
1 parent e9a6b4c commit efeba1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/python-api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ An ``upsert_all()`` method is also available, which behaves like ``insert_all()`
932932
Alternative upserts using INSERT OR IGNORE
933933
------------------------------------------
934934

935-
Upserts use ``INSERT INTO ... ON CONFLICT SET``. Prior to ``sqlite-utils 3.x`` (TODO: fill in version) these used a sequence of ``INSERT OR IGNORE`` followed by an ``UPDATE``. This older method is still used for SQLite 3.23.1 and earlier. You can force the older implementation by passing ``use_old_upsert=True`` to the ``Database()`` constructor.
935+
Upserts use ``INSERT INTO ... ON CONFLICT SET``. Prior to ``sqlite-utils 4.0`` these used a sequence of ``INSERT OR IGNORE`` followed by an ``UPDATE``. This older method is still used for SQLite 3.23.1 and earlier. You can force the older implementation by passing ``use_old_upsert=True`` to the ``Database()`` constructor.
936936

937937
.. _python_api_convert:
938938

0 commit comments

Comments
 (0)