-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MySQL queries using double quotes instead of backtick #67
Comments
sorry, but I didn't test with Mysql |
@hygison did you find a solution? I can't access the getAll routes either with mysql |
@hygison I got the exact same error that you got with the " symbol instead of ` when running the mysql query on the get-all.ts file code. |
@hygison I'm working on new version and will try to check the compatibility with mysql. but full compatibility will be only with postgress. some operators like 'some' will work with postgress. |
@hygison Could you check fix?
to
if will be ok, i push new version with fix. |
@klerick It worked perfectly. Thank you very much. Should I close this issue or wait for the push? |
🎉 This issue is included in version [email protected] 🎉 The release is available on GitHub release |
When I run a normal
findAll
It gives me an error:
When I check the ormLogs I get error in the query:
When I run the query on the sql directly it gives me an error, but If I just replace
"
with ``` it works fine.My configs:
I was checking the library and it seems the error to be on :
json-api-nestjs/src/lib/mixin/service/typeorm/methods/get-all/get-all.ts
Where we have:
"subQuery"."${subQueryIdAlias}" = ${countAlias}.${primaryColumn}
The text was updated successfully, but these errors were encountered: