@tmlmobilidade/databases 20260326.2139.30 → 20260326.2207.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -161,8 +161,6 @@ export class ClickHouseInterfaceTemplate {
|
|
|
161
161
|
throw new Error(`CLICKHOUSE [${this.tableName}]: Unsafe table name provided.`);
|
|
162
162
|
if (!validateSqlParam(this.engine, false))
|
|
163
163
|
throw new Error(`CLICKHOUSE [${this.engine}]: Unsafe engine type provided.`);
|
|
164
|
-
if (!validateSqlParam(this.orderBy, false))
|
|
165
|
-
throw new Error(`CLICKHOUSE [${this.orderBy}]: Unsafe orderBy clause provided.`);
|
|
166
164
|
// Validate the schema columns are safe identifiers
|
|
167
165
|
const unsafeColumns = this.schema.filter(column => !validateSqlParam(column.name, false)).map(column => column.name);
|
|
168
166
|
if (unsafeColumns.length > 0)
|