Skip to content
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

Double INSERT if RETURNING is specified #70

Open
panariga opened this issue Dec 11, 2024 · 0 comments
Open

Double INSERT if RETURNING is specified #70

panariga opened this issue Dec 11, 2024 · 0 comments

Comments

@panariga
Copy link

panariga commented Dec 11, 2024

Query "INSERT INTO request (id_x, id_xx) VALUES (?, ?) RETURNING rowid;" makes 2 rows INSERT actually.
Only rowid from second INSERT is returned in results.

Query "INSERT INTO request (id_x, id_xx) VALUES (?, ?) ;" works as expected - only 1 row inserted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant