-
-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
Describe the bug
Have a typeorm migration trying to use the trailing
function of postgres
QueryFailedError: 💔 Your query failed to parse.
This is most likely due to a SQL syntax error. However, you might also have hit a bug, or an unimplemented feature of pg-mem.
If this is the case, please file an issue at https://github.com/oguimbal/pg-mem along with a query that reproduces this syntax error.
👉 Failed query:
UPDATE "mytable" SET guid = TRIM(TRAILING chr(10) FROM guid) WHERE guid LIKE '%' || chr(10);
💀 Syntax error at line 1 col 30:
1 UPDATE "mytable" SET guid = TRIM(TRAILING chr(10) FROM guid) WHERE guid LIKE '%' || chr(10);
pg-mem version
# output of:
cat ./node_modules/pg-mem/package.json | grep version
# "version": "3.0.5",
# "description": "A memory version of postgres"
Metadata
Metadata
Assignees
Labels
No labels