ERROR: syntax error at or near "."
See original GitHub issueHello , thanks for the driver 😉
i’m facing a parsing error when trying to query to aurora postgresql serverless :
ERROR: syntax error at or near “.”
the query is :
SELECT DISTINCT `distinctAlias`.`User_id` as "ids_User_id" FROM (SELECT `User`.`id` AS `User_id`, `User`.`email` AS `User_email`....
if i replace “`” by " " " seems to execute correctly, in my test, but not sure how to make it work generally , any help would be welcome
thanks
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Postgresql : syntax error at or near "-" - Stack Overflow
I have reproduced the issue in my system, postgres=# alter user my-sys with password 'pass11'; ERROR: syntax error at or near "-" LINE...
Read more >SQL Error: "Syntax error at or near:" - Looker Community
This SQL error generally means that somewhere in the query, there is invalid syntax. Some common examples: ... In some circumstances, the database ......
Read more >syntax error at or near - INSERT - DBA Stack Exchange
syntax error at or near - INSERT · 1. The syntax itself is wrong. · OTOH, using keywords as object names is rarely...
Read more >Postgre SQL errors – common codes and messages - Paessler
The error message “syntax error at or near 'grant'” is one of the most common PostgreSQL database errors. However, it can easily be...
Read more >SQL Execution Failed postgres-error: syntax error at or near "\"
What is the current behaviour? SQL Migration Execution Fails when a tab character '\t' is inside the script. Migration execution succeeds when ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello, I haven’t really tested the driver against postgres because the use case I started it for was for MySQL. So, currently the postgres is not supported.
It’s a bit of work to make it work for postgres and requires changes in the TypeORM project itself. I can’t promise any timeframe, but I will take a look at it.
I’m going to track the Postgres work here