Skip to content

Commit

Permalink
docs: Remove incorrect warning on combining pgtrigger.UpdateOf (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterthomassen authored Dec 2, 2024
1 parent 2c0acf4 commit a3728c5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ The [pgtrigger.Trigger][] object is the base class for all triggers in `django-p

[pgtrigger.UpdateOf][] fires when columns appear in an `UPDATE` statement. It will not fire if other triggers update the columns. See the notes in the [Postgres docs](https://www.postgresql.org/docs/12/sql-createtrigger.html) for more information.

!!! note

Some conditions cannot be combined. For example, [pgtrigger.UpdateOf][] cannot be combined with other operations.

* **when**

When the trigger should run in relation to the operation. [pgtrigger.Before][] executes the trigger before the operation, and vice versa for [pgtrigger.After][]. [pgtrigger.InsteadOf][] is used for SQL views.
Expand Down

0 comments on commit a3728c5

Please sign in to comment.