Skip to content

Commit

Permalink
TYPO
Browse files Browse the repository at this point in the history
  • Loading branch information
jortilles committed Dec 21, 2023
1 parent b27c822 commit bd7f44e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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}"`;
}
}

Expand Down

0 comments on commit bd7f44e

Please sign in to comment.