Skip to content

Commit

Permalink
Update src/expression/expression-builder.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Igal Klebanov <[email protected]>
  • Loading branch information
koskimas and igalklebanov authored Jul 14, 2023
1 parent d7cd6ba commit 5364e08
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/expression/expression-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -879,9 +879,8 @@ export function createExpressionBuilder<DB, TB extends keyof DB>(
): ExpressionWrapper<DB, TB, SqlBool> {
if (isReadonlyArray(exprs)) {
return new ExpressionWrapper(parseFilterList(exprs, 'or'))
} else {
return new ExpressionWrapper(parseFilterObject(exprs, 'or'))
}

return new ExpressionWrapper(parseFilterObject(exprs, 'or'))
},

parens(...args: any[]) {
Expand Down

0 comments on commit 5364e08

Please sign in to comment.