error: ошибка синтаксиса (примерное положение: "[")
at Parser.parseErrorMessage (/var/www/html/test_aria/api/node_modules/pg-protocol/dist/parser.js:287:98)
at Parser.handlePacket (/var/www/html/test_aria/api/node_modules/pg-protocol/dist/parser.js:126:29)
at Parser.parse (/var/www/html/test_aria/api/node_modules/pg-protocol/dist/parser.js:39:38)
at Socket.<anonymous> (/var/www/html/test_aria/api/node_modules/pg-protocol/dist/index.js:11:42)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
length: 149,
severity: 'ОШИБКА',
code: '42601',
detail: undefined,
hint: undefined,
position: '188',
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'scan.l',
line: '1188',
routine: 'scanner_yyerror'
}
заменил query теперь в нём что-то не так