Skip to content

Commit e06449e

Browse files
committed
docs: update trigger condition example
1 parent 972ed80 commit e06449e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/PostgresMetaTriggers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default class PostgresMetaTriggers {
9696
* @param {('ROW'|'STATEMENT')} obj.orientation - Trigger function for every row affected by event or
9797
* once per statement. Defaults to 'STATEMENT'.
9898
* @param {string} obj.condition - Boolean expression that will trigger function.
99-
* For example: '(old.* IS DISTINCT FROM new.*)'
99+
* For example: 'old.* IS DISTINCT FROM new.*'
100100
* @param {Array<string>} obj.function_args - array of arguments to be passed to function when trigger is fired.
101101
* For example: ['arg1', 'arg2']
102102
*/

0 commit comments

Comments
 (0)