Skip to content

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

@avolokhov

Description

@avolokhov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions