Skip to content

Commit

Permalink
Update src/query-compiler/default-query-compiler.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Igal Klebanov <[email protected]>
  • Loading branch information
Alex Vershinin and igalklebanov authored Nov 20, 2023
1 parent 21dd913 commit 5d8d60c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/query-compiler/default-query-compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -907,9 +907,11 @@ export class DefaultQueryCompiler
}

this.append('unique')

if (node.nullsNotDistinct) {
this.append(' nulls not distinct')
}

this.append(' (')
this.compileList(node.columns)
this.append(')')
Expand Down

0 comments on commit 5d8d60c

Please sign in to comment.