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

Query metadata is not passed through for update/delete queries. #93

Closed
avolokhov opened this issue Apr 1, 2020 · 0 comments · Fixed by #95
Closed

Query metadata is not passed through for update/delete queries. #93

avolokhov opened this issue Apr 1, 2020 · 0 comments · Fixed by #95
Labels
bug Something isn't working

Comments

@avolokhov
Copy link

When I perform update/delete queries in psql console, it returns me a number of affected rows:

test=> CREATE TABLE test_table(pk int PRIMARY KEY);
CREATE TABLE
test=> INSERT INTO test_table VALUES(1);
INSERT 0 1
test=> DELETE FROM test_table;
DELETE 1
test=> DELETE FROM test_table;
DELETE 0

PostgressConnection's api is responding with a list of database rows query(_ string: String, _ binds: [PostgresData] = []) -> EventLoopFuture<[PostgresRow]> and don't have this information.

@tanner0101 tanner0101 added the bug Something isn't working label Apr 1, 2020
This was referenced Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants