Skip to content

node-postgres compat: add rowCount and command - #1067

Open
MarkusWendorf wants to merge 3 commits into
electric-sql:mainfrom
MarkusWendorf:feat/expose-command-tag
Open

node-postgres compat: add rowCount and command#1067
MarkusWendorf wants to merge 3 commits into
electric-sql:mainfrom
MarkusWendorf:feat/expose-command-tag

Conversation

@MarkusWendorf

@MarkusWendorf MarkusWendorf commented Jul 25, 2026

Copy link
Copy Markdown

Some clients rely on the rowCount and command fields usually exposed by node-postgres (see TypeORM). Currently command / rowCount is empty and misbehaves in TypeORM for example (.affected not being populated by TypeORM; see link above).

node-postgres for reference here.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@tdrz
tdrz self-requested a review July 28, 2026 10:06
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

Successfully merging this pull request may close these issues.

1 participant