rez_core 5.0.24 → 5.0.26

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "5.0.24",
3
+ "version": "5.0.26",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -750,7 +750,7 @@ export class EntityDynamicService {
750
750
  // 2. Get current max sequence number from that table
751
751
  const seqResult = await this.dataSource.query(
752
752
  `SELECT MAX(id) AS max_seq_no
753
- FROM \`${tableName}\`
753
+ FROM ${tableName}
754
754
  WHERE entity_type = $1`,
755
755
  [entityType],
756
756
  );
@@ -806,13 +806,4 @@ export class EntityDynamicService {
806
806
 
807
807
  return resolvedData;
808
808
  }
809
-
810
- async queryWithSchema(sql: string, params: any[] = []) {
811
- await this.dataSource.query('BEGIN');
812
- const schema = this.configService.get<string>('DB_SCHEMA');
813
- await this.dataSource.query(`SET LOCAL search_path TO ${schema}`);
814
- const result = await this.dataSource.query(sql, params);
815
- await this.dataSource.query('COMMIT');
816
- return result;
817
- }
818
809
  }