Skip to content

Commit

Permalink
Note that if..else now supports DML
Browse files Browse the repository at this point in the history
  • Loading branch information
raddevon committed Jan 3, 2024
1 parent 35a9388 commit 0e225d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/edgeql/for.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ A similar approach can be used for bulk updates.
Conditional DML
---------------

.. versionadded:: 4.0

DML is now supported in :eql:op:`if..else` as of EdgeDB 4.0.

DML (i.e., :ref:`insert <ref_eql_insert>`, :ref:`update <ref_eql_update>`,
:ref:`delete <ref_eql_delete>`) is not supported in :eql:op:`if..else`. If you
need to do one of these conditionally, you can use a ``for`` loop as a
Expand Down

0 comments on commit 0e225d0

Please sign in to comment.