Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
codingkarthik committed Sep 23, 2024
1 parent cf8be21 commit e318e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connector/sql/sqlGeneration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ export function constructSqlQuery(

let parameters: cosmos.SqlParameter[] = [];

if (sqlQueryCtx.predicate !== null && sqlQueryCtx.predicate !== undefined) {
if (sqlQueryCtx.predicate) {
const whereExp = translateWhereExpression(
// Translate the where expression to SQL
sqlQueryCtx.predicate,
Expand Down

0 comments on commit e318e2c

Please sign in to comment.