Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update src/query-compiler/default-query-compiler.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Igal Klebanov <igalklebanov@gmail.com>
Alex Vershinin and igalklebanov authored Nov 20, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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
@@ -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(')')

0 comments on commit 5d8d60c

Please sign in to comment.