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
last
last_subquery
Offending line
I have an Objection QueryBuilder that produces the following SQL:
SELECT my_table.* FROM my_table INNER JOIN other_table1 ON 1=1 INNER JOIN other_table2 ON 1=1 WHERE other_table2.thing = ?
cursorPagination produces this SQL which results in Postgres returning the error missing FROM-clause entry for table "my_table"
missing FROM-clause entry for table "my_table"
SELECT * FROM ( SELECT my_table.*, FROM my_table INNER JOIN other_table1 ON 1=1 INNER JOIN other_table2 ON 1=1 WHERE other_table2.thing = ? ORDER BY "id" DESC, "id" DESC LIMIT $2 ) AS "last_subquery" INNER JOIN other_table1 ON 1=1 INNER JOIN other_table2 ON 1=1 ORDER BY "id" ASC, "id" ASC
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Offending line
I have an Objection QueryBuilder that produces the following SQL:
cursorPagination produces this SQL which results in Postgres returning the error
missing FROM-clause entry for table "my_table"
The text was updated successfully, but these errors were encountered: