From bd7f44e0135a59a2a5676186b636f9550851a6f7 Mon Sep 17 00:00:00 2001 From: Juanjo Ortilles Date: Thu, 21 Dec 2023 22:39:25 +0100 Subject: [PATCH] TYPO --- .../lib/services/query-builder/qb-systems/pg-builder-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eda/eda_api/lib/services/query-builder/qb-systems/pg-builder-service.ts b/eda/eda_api/lib/services/query-builder/qb-systems/pg-builder-service.ts index 7c73ec75..243db650 100644 --- a/eda/eda_api/lib/services/query-builder/qb-systems/pg-builder-service.ts +++ b/eda/eda_api/lib/services/query-builder/qb-systems/pg-builder-service.ts @@ -28,7 +28,7 @@ export class PgBuilderService extends QueryBuilderService { if( vista ){ // Es una vista. NO la pongo entre comillas myQuery = `SELECT DISTINCT ${columns.join(', ')} \nFROM ${o}`; }else{ // Es una tabla. La pongo entre comillas - myQuery = `SELECT DISTINCT ${columns.join(', ')} \n"${schema}"."${o}"`; + myQuery = `SELECT DISTINCT ${columns.join(', ')} \nFROM "${schema}"."${o}"`; } }