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
#[test] fn test_pg_on_conflict() { let pg_dialect = PostgreSqlDialect {}; let sql = r#" INSERT INTO distributors (did, dname, dsize) VALUES (5, 'Gizmo Transglobal', 1000), (6, 'Associated Computing, Inc', 1010) ON CONFLICT(did) DO UPDATE SET dname = $1 WHERE dsize > $2"#; let mut ast = Parser::parse_sql(&pg_dialect, sql).unwrap(); }
The result after the test case is executed:
thread 'test_pg_on_conflicts' panicked at 'called `Result::unwrap()` on an `Err` value: ParserError("Expected end of statement, found: WHERE")',
version: main [branch]
The text was updated successfully, but these errors were encountered:
pr #735
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The result after the test case is executed:
version: main [branch]
The text was updated successfully, but these errors were encountered: