Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
igalklebanov committed Oct 20, 2024
1 parent 5753740 commit 5f74354
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/node/src/merge.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { MergeResult, sql } from '../../..'
import { mergeAction } from '../../../helpers/postgres'
import {
DIALECTS,
NOT_SUPPORTED,
Expand Down Expand Up @@ -1189,7 +1190,7 @@ for (const dialect of DIALECTS.filter(
}))
.whenNotMatchedBySource()
.thenDelete()
.returning((eb) => [eb.mergeAction().as('action'), 'pet.name'])
.returning([mergeAction().as('action'), 'pet.name'])

testSql(query, dialect, {
postgres: {
Expand Down

0 comments on commit 5f74354

Please sign in to comment.