We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The command: $ sqlx-ts . --db-type=postgres --db-host=localhost --db-port=5431 --db-user=<user> --db-pass=<password> && echo "Exit code is 0" reurns:
$ sqlx-ts . --db-type=postgres --db-host=localhost --db-port=5431 --db-user=<user> --db-pass=<password> && echo "Exit code is 0"
[INFO] Scanning "." for SQLs with extension Ts error: internal compiler error: column "jwks_ur" of relation "applications" does not exist --> ./src/applications/applications.service.ts:18:5 | 18 | / const { rows } = await this.conn.query( 19 | | sql` 20 | | INSERT INTO applications (jwks_ur) VALUES ($1) RETURNING *; 21 | | `, 22 | | [createApplicationDto.jwksUri], 23 | | ); | |______^ [INFO] No SQL errors detected! Exit code is 0
The text was updated successfully, but these errors were encountered:
Thanks for this, could you please tell me what version of sqlx-ts that you are using?
I am replicating the same query (It seems like you are not using -g flag)
-g
On the latest sqlx-ts, I am getting the exit code correctly, process.exit(1)
Also please let me know which database are you using. The command relies on whether or not the database correctly fails on the PREPARE/EXPLAIN query
PREPARE/EXPLAIN
Sorry, something went wrong.
No branches or pull requests
The command:
$ sqlx-ts . --db-type=postgres --db-host=localhost --db-port=5431 --db-user=<user> --db-pass=<password> && echo "Exit code is 0"
reurns:
The text was updated successfully, but these errors were encountered: