Update packages/backend-core/src/sql/sql.ts
Co-authored-by: Adria Navarro <adria@budibase.com>
This commit is contained in:
parent
abeeecba9d
commit
08f1c4dadc
|
@ -1542,7 +1542,7 @@ class SqlQueryBuilder extends SqlTableQueryBuilder {
|
||||||
// SQS uses the table ID rather than the table name
|
// SQS uses the table ID rather than the table name
|
||||||
name = table._id
|
name = table._id
|
||||||
}
|
}
|
||||||
return aliases?.[name] ? aliases[name] : name
|
return aliases?.[name] || name
|
||||||
}
|
}
|
||||||
|
|
||||||
convertJsonStringColumns<T extends Record<string, any>>(
|
convertJsonStringColumns<T extends Record<string, any>>(
|
||||||
|
|
Loading…
Reference in New Issue