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
When I do:
say $abstract->insert('a_table', {});
...I get:
INSERT INTO a_table VALUES ()
...which is invalid syntax in PostgreSQL v14 (results in error ERROR: syntax error at or near ")")
ERROR: syntax error at or near ")"
The following SQL string should be output:
INSERT INTO a_table DEFAULT VALUES
The text was updated successfully, but these errors were encountered:
Interesting idea.
Sorry, something went wrong.
According to https://www.postgresql.org/docs/7.1/sql-insert.html, DEFAULT VALUES is supported all the way back to PostgreSQL v7.1.
DEFAULT VALUES
No branches or pull requests
Steps to reproduce the behavior
When I do:
...I get:
...which is invalid syntax in PostgreSQL v14 (results in error
ERROR: syntax error at or near ")"
)Expected behavior
The following SQL string should be output:
The text was updated successfully, but these errors were encountered: