Skip to content

Commit

Permalink
feat(export): fix presence for oracle
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienaury authored Nov 21, 2024
1 parent d9a81cb commit bd8fb2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/infra/commonsql/dialect_oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,5 @@ func (od OracleDialect) CreateSelect(sel string, where string, limit string, col
}

func (od OracleDialect) selectPresence(column string) string {
return fmt.Sprintf("CASE WHEN %s IS NOT NULL THEN TRUE ELSE NULL END AS %s", od.Quote(column), od.Quote(column))
return fmt.Sprintf("CASE WHEN %s IS NOT NULL THEN 'TRUE' ELSE NULL END AS %s", od.Quote(column), od.Quote(column))
}

0 comments on commit bd8fb2c

Please sign in to comment.