Update packages/backend-core/src/sql/sql.ts

Co-authored-by: Adria Navarro <adria@budibase.com>
This commit is contained in:
Sam Rose 2024-10-02 09:35:15 +01:00 committed by GitHub
parent abeeecba9d
commit 08f1c4dadc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1542,7 +1542,7 @@ class SqlQueryBuilder extends SqlTableQueryBuilder {
// SQS uses the table ID rather than the table name
name = table._id
}
return aliases?.[name] ? aliases[name] : name
return aliases?.[name] || name
}
convertJsonStringColumns<T extends Record<string, any>>(