Skip to content

Commit

Permalink
Document more clearly that the insert order is an implementation deta…
Browse files Browse the repository at this point in the history
…il (#10883)
  • Loading branch information
mpdude authored Aug 9, 2023
1 parent 440b244 commit 16c0151
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/en/reference/working-with-objects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,11 @@ be properly synchronized with the database when
database in the most efficient way and a single, short transaction,
taking care of maintaining referential integrity.

.. note::

Do not make any assumptions in your code about the number of queries
it takes to flush changes, about the ordering of ``INSERT``, ``UPDATE``
and ``DELETE`` queries or the order in which entities will be processed.

Example:

Expand Down

0 comments on commit 16c0151

Please sign in to comment.