Skip to content

Commit

Permalink
Fix pg money
Browse files Browse the repository at this point in the history
  • Loading branch information
adrinr committed Dec 17, 2024
1 parent a118105 commit 2bfcb11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions packages/backend-core/src/sql/sql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,7 @@ class InternalBuilder {

private isFullSelectStatementRequired(includedFields: string[]): boolean {
for (const column of Object.values(this.table.schema)) {
if (this.SPECIAL_SELECT_CASES.POSTGRES_MONEY(column)) {
return true
} else if (this.SPECIAL_SELECT_CASES.MSSQL_DATES(column)) {
if (this.SPECIAL_SELECT_CASES.MSSQL_DATES(column)) {
return true
} else if (
column.type === FieldType.FORMULA &&
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/integration-test/postgres.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const mainDescriptions = datasourceDescribe({

if (mainDescriptions.length) {
describe.each(mainDescriptions)(
"/postgres integrations",
"/postgres integrations ($dbName)",
({ config, dsProvider }) => {
let datasource: Datasource
let client: Knex
Expand Down

0 comments on commit 2bfcb11

Please sign in to comment.